mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 22:43:25 +08:00
### 1.3.5 开源社区版: 无 ### 0.1.7 会员专业版: 【新增】表【CoreCmsUserShip】增加【精度longitude】【纬度latitude】【街道street】三字段。 【新增】用户地址新增及编辑增加地图选择获取街道及经纬度坐标功能。 【新增】【平台设置-订单管理】,新增【同城配送运费设置】,可设置2公里内,5公里内,10公里内,15公里内,20公里内不同距离运费。根据用户地址坐标与门店坐标进行计算。 【新增】商品详情轮播图增加视频图片混播结合功能,类似淘宝打开商品详情后显示视频并支持播放,左右滑动切换图片,实现混播。 【新增】商品添加/删除面板增加视频上传功能。
105 lines
2.7 KiB
C#
105 lines
2.7 KiB
C#
/***********************************************************************
|
||
* Project: CoreCms
|
||
* ProjectName: 核心内容管理系统
|
||
* Web: https://www.corecms.net
|
||
* Author: 大灰灰
|
||
* Email: jianweie@163.com
|
||
* CreateTime: 2021/1/31 21:45:10
|
||
* Description: 暂无
|
||
***********************************************************************/
|
||
|
||
|
||
using System;
|
||
using System.Collections.Generic;
|
||
using System.Text;
|
||
|
||
namespace CoreCms.Net.Model.FromBody
|
||
{
|
||
/// <summary>
|
||
/// 单个货品接入购物车
|
||
/// </summary>
|
||
public class FMCartAdd
|
||
{
|
||
/// <summary>
|
||
/// 单品数量
|
||
/// </summary>
|
||
public int Nums { get; set; } = 0;
|
||
|
||
/// <summary>
|
||
/// 货品序号
|
||
/// </summary>
|
||
public int ProductId { get; set; } = 0;
|
||
|
||
/// <summary>
|
||
/// 数量类型 1是直接增加,2是赋值
|
||
/// </summary>
|
||
public int type { get; set; } = 1;
|
||
|
||
/// <summary>
|
||
/// 普通购物还是团购秒杀/关联CartTypes
|
||
/// </summary>
|
||
public int cartType { get; set; } = 1;
|
||
|
||
/// <summary>
|
||
/// 非普通货品,关联对象序列
|
||
/// </summary>
|
||
public int objectId { get; set; } = 0;
|
||
}
|
||
|
||
/// <summary>
|
||
/// 获取购物车列表提交实体
|
||
/// </summary>
|
||
public class FMCartGetList
|
||
{
|
||
/// <summary>
|
||
/// 用户序列
|
||
/// </summary>
|
||
public int userId { get; set; } = 0;
|
||
|
||
/// <summary>
|
||
/// 购物车数据
|
||
/// </summary>
|
||
public string ids { get; set; } = null;
|
||
|
||
/// <summary>
|
||
/// 购物车类型
|
||
/// </summary>
|
||
public int type { get; set; } = 1;
|
||
|
||
/// <summary>
|
||
/// 区域编码
|
||
/// </summary>
|
||
public int areaId { get; set; } = 0;
|
||
|
||
/// <summary>
|
||
/// 积分
|
||
/// </summary>
|
||
public int point { get; set; } = 0;
|
||
/// <summary>
|
||
/// 优惠券码
|
||
/// </summary>
|
||
|
||
public string couponCode { get; set; }
|
||
|
||
/// <summary>
|
||
/// 配送方式是否包邮 1=快递配送(要去算运费)生成订单记录快递方式 2=门店自提(不需要计算运费)生成订单记录门店自提信息
|
||
/// </summary>
|
||
public int receiptType { get; set; } = 1;
|
||
|
||
/// <summary>
|
||
/// 用户收货地址
|
||
/// </summary>
|
||
public int userShipId { get; set; } = 0;
|
||
|
||
|
||
/// <summary>
|
||
/// 关联非普通订单对象序列
|
||
/// </summary>
|
||
public int objectId { get; set; } = 0;
|
||
|
||
|
||
}
|
||
|
||
|
||
}
|