2022-01-11

## 1.2.9 开源社区版:
【修复】修复全局定义微信配置引用的配置文件命名错误问题。
【修复】修复自动生成sku模式价格出现货号重复情况,#I4Q4WU

## 0.0.6 会员先行版:
【新增】新增微信自定义交易组件,实现微信视频号直播带货功能。
This commit is contained in:
JianWeie
2022-01-11 01:36:28 +08:00
parent 5c0e5877c6
commit 4164e59919
97 changed files with 11484 additions and 26 deletions

View File

@@ -60,6 +60,13 @@ namespace CoreCms.Net.Model.Entities
public string logiNo { get; set; }
/// <summary>
/// 第三方对接物流编码
/// </summary>
[Display(Name = "第三方对接物流编码")]
[StringLength(maximumLength: 50, ErrorMessage = "{0}不能超过{1}字")]
public System.String thirdPartylogiCode { get; set; }
/// <summary>
/// 快递物流信息
/// </summary>

View File

@@ -474,7 +474,21 @@ namespace CoreCms.Net.Model.Entities
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 source { get; set; }
/// <summary>
/// 场景值
/// </summary>
[Display(Name = "场景值")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 scene { get; set; }
/// <summary>
/// 是否评论
/// </summary>

View File

@@ -226,5 +226,13 @@ namespace CoreCms.Net.Model.Entities
/// </summary>
[SugarColumn(IsIgnore = true)]
public string userNickName { get; set; }
/// <summary>
/// 交易组件订单
/// </summary>
[SugarColumn(IsIgnore = true)]
public WeChatTransactionComponentOrder tcOrder { get; set; }
}
}

View File

@@ -0,0 +1,200 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021/7/14 23:14:23
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 自定义交易组件上传类目资质
/// </summary>
public partial class WeChatTransactionComponentAuditCategory
{
/// <summary>
/// 构造函数
/// </summary>
public WeChatTransactionComponentAuditCategory()
{
}
/// <summary>
/// 序列
/// </summary>
[Display(Name = "序列")]
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 营业执照或组织机构代码证
/// </summary>
[Display(Name = "营业执照或组织机构代码证")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(maximumLength:255,ErrorMessage = "{0}不能超过{1}字")]
public System.String licenseImage { get; set; }
/// <summary>
/// 一级类目
/// </summary>
[Display(Name = "一级类目")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 level1 { get; set; }
/// <summary>
/// 一级类目名称
/// </summary>
[Display(Name = "一级类目名称")]
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
public System.String level1Name { get; set; }
/// <summary>
/// 二级类目
/// </summary>
[Display(Name = "二级类目")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 level2 { get; set; }
/// <summary>
/// 二级类目名称
/// </summary>
[Display(Name = "二级类目名称")]
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
public System.String level2Name { get; set; }
/// <summary>
/// 三级类目
/// </summary>
[Display(Name = "三级类目")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 level3 { get; set; }
/// <summary>
/// 三级类目名称
/// </summary>
[Display(Name = "三级类目名称")]
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
public System.String level3Name { get; set; }
/// <summary>
/// 资质材料
/// </summary>
[Display(Name = "资质材料")]
[Required(ErrorMessage = "请输入{0}")]
public System.String certificateImage { get; set; }
/// <summary>
/// 审核单
/// </summary>
[Display(Name = "审核单")]
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
public System.String auditId { get; set; }
/// <summary>
/// 审核状态
/// </summary>
[Display(Name = "审核状态")]
public System.Int32? status { get; set; }
/// <summary>
/// 品牌id
/// </summary>
[Display(Name = "品牌id")]
public System.Int32? brandId { get; set; }
/// <summary>
/// 拒绝原因
/// </summary>
[Display(Name = "拒绝原因")]
[StringLength(maximumLength:255,ErrorMessage = "{0}不能超过{1}字")]
public System.String rejectReason { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Display(Name = "创建时间")]
[Required(ErrorMessage = "请输入{0}")]
public System.DateTime createTime { get; set; }
}
}

View File

@@ -0,0 +1,104 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021/8/1 22:54:37
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 自定义交易组件类目审核回调
/// </summary>
public partial class WeChatTransactionComponentAuditCategoryAuditLog
{
/// <summary>
/// 构造函数
/// </summary>
public WeChatTransactionComponentAuditCategoryAuditLog()
{
}
/// <summary>
/// 序列
/// </summary>
[Display(Name = "序列")]
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 审核id
/// </summary>
[Display(Name = "审核id")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
public System.String auditId { get; set; }
/// <summary>
/// 审核状态,1:已通过,9:拒绝
/// </summary>
[Display(Name = "审核状态,1:已通过,9:拒绝")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 status { get; set; }
/// <summary>
/// 审核类型本接口固定为2
/// </summary>
[Display(Name = "审核类型本接口固定为2")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 auditType { get; set; }
/// <summary>
/// 相关信息
/// </summary>
[Display(Name = "相关信息")]
[StringLength(maximumLength:250,ErrorMessage = "{0}不能超过{1}字")]
public System.String rejectReason { get; set; }
/// <summary>
/// 数据创建时间
/// </summary>
[Display(Name = "数据创建时间")]
[Required(ErrorMessage = "请输入{0}")]
public System.DateTime createTime { get; set; }
}
}

View File

@@ -0,0 +1,54 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021/7/11 23:48:58
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 自定义交易组件快递公司
/// </summary>
public partial class WeChatTransactionComponentDeliveryCompany
{
/// <summary>
/// 构造函数
/// </summary>
public WeChatTransactionComponentDeliveryCompany()
{
}
/// <summary>
/// 快递公司id
/// </summary>
[Display(Name = "快递公司id")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
public System.String deliveryId { get; set; }
/// <summary>
/// 快递公司名称
/// </summary>
[Display(Name = "快递公司名称")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
public System.String deliveryName { get; set; }
}
}

View File

@@ -0,0 +1,224 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021/7/5 13:04:13
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 自定义交易组件商品列表
/// </summary>
public partial class WeChatTransactionComponentGood
{
/// <summary>
/// 构造函数
/// </summary>
public WeChatTransactionComponentGood()
{
}
/// <summary>
/// 序列
/// </summary>
[Display(Name = "序列")]
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 交易组件平台内部商品ID
/// </summary>
[Display(Name = "交易组件平台内部商品ID")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int64 productId { get; set; }
/// <summary>
/// 交易组件创建时间
/// </summary>
[Display(Name = "交易组件创建时间")]
public System.DateTime? createTime { get; set; }
/// <summary>
/// 商品序列
/// </summary>
[Display(Name = "商品序列")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
public System.String outProductId { get; set; }
/// <summary>
/// 商品标题
/// </summary>
[Display(Name = "商品标题")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(maximumLength:255,ErrorMessage = "{0}不能超过{1}字")]
public System.String title { get; set; }
/// <summary>
/// 小程序路径
/// </summary>
[Display(Name = "小程序路径")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(maximumLength:255,ErrorMessage = "{0}不能超过{1}字")]
public System.String path { get; set; }
/// <summary>
/// 主图列表
/// </summary>
[Display(Name = "主图列表")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(maximumLength:500,ErrorMessage = "{0}不能超过{1}字")]
public System.String headImg { get; set; }
/// <summary>
/// 商品资质图片列表
/// </summary>
[Display(Name = "商品资质图片列表")]
[StringLength(maximumLength:500,ErrorMessage = "{0}不能超过{1}字")]
public System.String qualificationPics { get; set; }
/// <summary>
/// 商品详情图文
/// </summary>
[Display(Name = "商品详情图文")]
public System.String descInfoDesc { get; set; }
/// <summary>
/// 商品详情图片列表
/// </summary>
[Display(Name = "商品详情图片列表")]
[StringLength(maximumLength:500,ErrorMessage = "{0}不能超过{1}字")]
public System.String descInfoImgs { get; set; }
/// <summary>
/// 三级类目ID
/// </summary>
[Display(Name = "三级类目ID")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 thirdCatId { get; set; }
/// <summary>
/// 三级类目名称
/// </summary>
[Display(Name = "三级类目名称")]
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
public System.String thirdCatName { get; set; }
/// <summary>
/// 品牌id
/// </summary>
[Display(Name = "品牌id")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 brandId { get; set; }
/// <summary>
/// 预留字段
/// </summary>
[Display(Name = "预留字段")]
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
public System.String infoVersion { get; set; }
/// <summary>
/// 最后提交时间
/// </summary>
[Display(Name = "最后提交时间")]
public System.DateTime? lastPostTime { get; set; }
/// <summary>
/// 最后更新时间
/// </summary>
[Display(Name = "最后更新时间")]
public System.DateTime? updateTime { get; set; }
}
}

View File

@@ -0,0 +1,104 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021/8/1 22:22:12
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 自定义交易组件商品审核回调
/// </summary>
public partial class WeChatTransactionComponentGoodAuditLog
{
/// <summary>
/// 构造函数
/// </summary>
public WeChatTransactionComponentGoodAuditLog()
{
}
/// <summary>
/// 序列
/// </summary>
[Display(Name = "序列")]
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 商家自定义商品id
/// </summary>
[Display(Name = "商家自定义商品id")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
public System.String outProductId { get; set; }
/// <summary>
/// 平台商品id
/// </summary>
[Display(Name = "平台商品id")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int64 productId { get; set; }
/// <summary>
/// 审核状态,4:已通过,3:拒绝
/// </summary>
[Display(Name = "审核状态,4:已通过,3:拒绝")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 status { get; set; }
/// <summary>
/// 相关信息
/// </summary>
[Display(Name = "相关信息")]
[StringLength(maximumLength:250,ErrorMessage = "{0}不能超过{1}字")]
public System.String rejectReason { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Display(Name = "创建时间")]
[Required(ErrorMessage = "请输入{0}")]
public System.DateTime createTime { get; set; }
}
}

View File

@@ -0,0 +1,32 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021/7/5 13:04:13
* Description: 暂无
***********************************************************************/
using System.Collections.Generic;
using SqlSugar;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 自定义交易组件商品列表
/// </summary>
public partial class WeChatTransactionComponentGood
{
/// <summary>
/// sku列表
/// </summary>
[Display(Name = "SKU")]
[SqlSugar.SugarColumn(IsIgnore = true)]
public List<WeChatTransactionComponentGoodSKU> sku { get; set; }
}
}

View File

@@ -0,0 +1,176 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021/7/31 15:51:02
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 自定义交易组件商品关联sku列表
/// </summary>
public partial class WeChatTransactionComponentGoodSKU
{
/// <summary>
/// 构造函数
/// </summary>
public WeChatTransactionComponentGoodSKU()
{
}
/// <summary>
/// 序列
/// </summary>
[Display(Name = "序列")]
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 交易组件平台自定义skuID
/// </summary>
[Display(Name = "交易组件平台自定义skuID")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int64 skuId { get; set; }
/// <summary>
/// 商家自定义商品ID
/// </summary>
[Display(Name = "商家自定义商品ID")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
public System.String outProductId { get; set; }
/// <summary>
/// 商家自定义skuID
/// </summary>
[Display(Name = "商家自定义skuID")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
public System.String outSkuId { get; set; }
/// <summary>
/// sku小图
/// </summary>
[Display(Name = "sku小图")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(maximumLength:255,ErrorMessage = "{0}不能超过{1}字")]
public System.String thumbImg { get; set; }
/// <summary>
/// 成本价格
/// </summary>
[Display(Name = "成本价格")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 costprice { get; set; }
/// <summary>
/// 售卖价格
/// </summary>
[Display(Name = "售卖价格")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 salePrice { get; set; }
/// <summary>
/// 市场价格
/// </summary>
[Display(Name = "市场价格")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 marketPrice { get; set; }
/// <summary>
/// 库存
/// </summary>
[Display(Name = "库存")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 stockNum { get; set; }
/// <summary>
/// 条形码
/// </summary>
[Display(Name = "条形码")]
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
public System.String barCode { get; set; }
/// <summary>
/// 商品编码
/// </summary>
[Display(Name = "商品编码")]
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
public System.String skuCode { get; set; }
/// <summary>
/// 是否选择
/// </summary>
[Display(Name = "是否选择")]
[Required(ErrorMessage = "请输入{0}")]
public System.Boolean isSelect { get; set; }
}
}

View File

@@ -0,0 +1,92 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021/7/10 23:44:16
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 自定义交易组件提交订单
/// </summary>
public partial class WeChatTransactionComponentOrder
{
/// <summary>
/// 构造函数
/// </summary>
public WeChatTransactionComponentOrder()
{
}
/// <summary>
/// 序列
/// </summary>
[Display(Name = "序列")]
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 交易组件订单ID
/// </summary>
[Display(Name = "交易组件订单ID")]
public System.Int64? orderId { get; set; }
/// <summary>
/// 商家自定义订单ID
/// </summary>
[Display(Name = "商家自定义订单ID")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(maximumLength:20,ErrorMessage = "{0}不能超过{1}字")]
public System.String outOrderId { get; set; }
/// <summary>
/// 用户openId
/// </summary>
[Display(Name = "用户openId")]
[StringLength(maximumLength:32,ErrorMessage = "{0}不能超过{1}字")]
public System.String openid { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Display(Name = "创建时间")]
[Required(ErrorMessage = "请输入{0}")]
public System.DateTime createTime { get; set; }
}
}

View File

@@ -0,0 +1,176 @@
/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021/7/3 16:30:55
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
/// <summary>
/// 自定义交易组件三级类目
/// </summary>
public partial class WeChatTransactionComponentThirdCategory
{
/// <summary>
/// 构造函数
/// </summary>
public WeChatTransactionComponentThirdCategory()
{
}
/// <summary>
/// 序列
/// </summary>
[Display(Name = "序列")]
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
/// <summary>
/// 类目ID
/// </summary>
[Display(Name = "类目ID")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 third_cat_id { get; set; }
/// <summary>
/// 类目名称
/// </summary>
[Display(Name = "类目名称")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
public System.String third_cat_name { get; set; }
/// <summary>
/// 类目资质
/// </summary>
[Display(Name = "类目资质")]
[StringLength(maximumLength:500,ErrorMessage = "{0}不能超过{1}字")]
public System.String qualification { get; set; }
/// <summary>
/// 类目资质类型,0:不需要,1:必填,2:选填
/// </summary>
[Display(Name = "类目资质类型,0:不需要,1:必填,2:选填")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 qualification_type { get; set; }
/// <summary>
/// 商品资质
/// </summary>
[Display(Name = "商品资质")]
[StringLength(maximumLength:500,ErrorMessage = "{0}不能超过{1}字")]
public System.String product_qualification { get; set; }
/// <summary>
/// 商品资质类型,0:不需要,1:必填,2:选填
/// </summary>
[Display(Name = "商品资质类型,0:不需要,1:必填,2:选填")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 product_qualification_type { get; set; }
/// <summary>
/// 二级类目ID
/// </summary>
[Display(Name = "二级类目ID")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 second_cat_id { get; set; }
/// <summary>
/// 二级类目名称
/// </summary>
[Display(Name = "二级类目名称")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
public System.String second_cat_name { get; set; }
/// <summary>
/// 一级类目ID
/// </summary>
[Display(Name = "一级类目ID")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 first_cat_id { get; set; }
/// <summary>
/// 一级类目名称
/// </summary>
[Display(Name = "一级类目名称")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
public System.String first_cat_name { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[Display(Name = "创建时间")]
[Required(ErrorMessage = "请输入{0}")]
public System.DateTime createTime { get; set; }
}
}