init
This commit is contained in:
parent
b965bdfc97
commit
006befd766
@ -28,6 +28,8 @@ namespace ARW.Model.Dto.Business.GoodsManager.ShopGoodsCategorys
|
||||
[Required(ErrorMessage = "名称不能为空")]
|
||||
public string ShopGoodsCategoryName { get; set; }
|
||||
|
||||
public string ShopGoodsCategoryImg { get; set; }
|
||||
|
||||
[Required(ErrorMessage = "显示状态不能为空")]
|
||||
public int ShopGoodsCategoryDisplayStatus { get; set; }
|
||||
|
||||
|
@ -74,6 +74,15 @@ namespace ARW.Model.Models.Business.GoodsManager.ShopGoodsCategorys
|
||||
public string ShopGoodsCategoryName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 描述 :图标
|
||||
/// 空值 : false
|
||||
/// </summary>
|
||||
[EpplusTableColumn(Header = "图标")]
|
||||
[SugarColumn(ColumnName = "shop_goods_category_img")]
|
||||
public string ShopGoodsCategoryImg { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 描述 :显示状态
|
||||
/// 空值 : false
|
||||
|
@ -77,6 +77,12 @@ namespace ARW.Model.Vo.Business.GoodsManager.ShopGoodsCategorys
|
||||
public string ShopGoodsCategoryName { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 描述 :图标
|
||||
/// </summary>
|
||||
[EpplusTableColumn(Header = "商品类目图标")]
|
||||
public string ShopGoodsCategoryImg { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 描述 :显示状态
|
||||
/// </summary>
|
||||
|
@ -74,6 +74,7 @@ namespace ARW.Service.Business.BusinessService.GoodsManager.ShopGoodsCategorys
|
||||
ShopGoodsCategoryDisplayStatus = s.ShopGoodsCategoryDisplayStatus,
|
||||
ShopGoodsCategorySort = s.ShopGoodsCategorySort,
|
||||
ParentName = c.ShopGoodsCategoryName,
|
||||
ShopGoodsCategoryImg = s.ShopGoodsCategoryImg
|
||||
});
|
||||
|
||||
return await query.ToTreeAsync(it => it.Children, it => it.ShopGoodsCategoryParentGuid, 0);
|
||||
@ -110,6 +111,7 @@ namespace ARW.Service.Business.BusinessService.GoodsManager.ShopGoodsCategorys
|
||||
ShopGoodsCategoryDisplayStatus = s.ShopGoodsCategoryDisplayStatus,
|
||||
ShopGoodsCategorySort = s.ShopGoodsCategorySort,
|
||||
ParentName = c.ShopGoodsCategoryName,
|
||||
ShopGoodsCategoryImg = s.ShopGoodsCategoryImg
|
||||
});
|
||||
|
||||
|
||||
|
@ -82,14 +82,13 @@ namespace ARW.Service.Business.BusinessService.ShopManager.Shops
|
||||
predicate = predicate.AndIF(parm.ShopAuditStatus != null, s => s.ShopAuditStatus == parm.ShopAuditStatus);
|
||||
var query = _ShopRepository
|
||||
.Queryable()
|
||||
.LeftJoin<SysUser>((s, c) => s.ShopUserId == c.UserId)
|
||||
.LeftJoin<Customer>((s, c, d) => s.ShopCustomerGuid == d.CustomerGuid)
|
||||
.LeftJoin<GoodsCategory>((s, c, d, f) => s.ShopBusinessCategoryGuid == f.GoodsCategoryGuid)
|
||||
//.LeftJoin<SysUser>((s, c) => s.ShopUserId == c.UserId)
|
||||
.LeftJoin<Customer>((s, d) => s.ShopCustomerGuid == d.CustomerGuid)
|
||||
.LeftJoin<GoodsCategory>((s, d, f) => s.ShopBusinessCategoryGuid == f.GoodsCategoryGuid)
|
||||
.Where(predicate.ToExpression())
|
||||
.OrderBy(s => s.ShopSort, OrderByType.Asc)
|
||||
.Select((s, c, d, f) => new ShopVo
|
||||
.Select((s, d, f) => new ShopVo
|
||||
{
|
||||
UserName = c.UserName,
|
||||
CustomerNickname = d.CustomerNickname,
|
||||
ShopBusinessCategoryName = f.GoodsCategoryName,
|
||||
ShopId = s.ShopId,
|
||||
|
@ -7,7 +7,7 @@
|
||||
}
|
||||
},
|
||||
"ConnectionStrings": {
|
||||
"conn_db": "server=47.242.159.172;Database=shop_template;Uid=shop_template;Pwd=tKFJjWwL2kxMYtJK;SslMode=none;CharSet=utf8mb4;AllowLoadLocalInfile=true;AllowUserVariables=true;",
|
||||
"conn_db": "server=47.242.159.172;Database=micro_mall_demo;Uid=micro_mall_demo;Pwd=MC6brabBGEWrTDZZ;SslMode=none;CharSet=utf8mb4;AllowLoadLocalInfile=true;AllowUserVariables=true;",
|
||||
//"conn_db": "server=127.0.0.1;Database=shop;Uid=root;Pwd=root;SslMode=none;CharSet=utf8mb4;AllowLoadLocalInfile=true;AllowUserVariables=true;",
|
||||
"conn_db_type": "8" //数据库类型 MySql = 0, SqlServer = 1
|
||||
},
|
||||
@ -41,13 +41,13 @@
|
||||
"templateCode": "SMS_154950909"
|
||||
},
|
||||
"gen": {
|
||||
"conn": "server=47.242.159.172;Database=shop_template;Uid=shop_template;Pwd=tKFJjWwL2kxMYtJK;SslMode=none;CharSet=utf8mb4;AllowLoadLocalInfile=true;AllowUserVariables=true;",
|
||||
//"conn": "server=127.0.0.1;Database= shop_template;Uid=root;Pwd=root;SslMode=none;CharSet=utf8mb4;AllowLoadLocalInfile=true;AllowUserVariables=true;",
|
||||
"conn": "server=47.242.159.172;Database=micro_mall_demo;Uid=micro_mall_demo;Pwd=MC6brabBGEWrTDZZ;SslMode=none;CharSet=utf8mb4;AllowLoadLocalInfile=true;AllowUserVariables=true;",
|
||||
//"conn": "server=127.0.0.1;Database= micro_mall_demo;Uid=root;Pwd=root;SslMode=none;CharSet=utf8mb4;AllowLoadLocalInfile=true;AllowUserVariables=true;",
|
||||
"dbType": 8, //MySql = 0, SqlServer = 1
|
||||
"autoPre": true, //自动去除表前缀
|
||||
"author": "admin",
|
||||
"tablePrefix": "tb_", //"表前缀(生成类名不会包含表前缀,多个用逗号分隔)",
|
||||
"vuePath": "D:\\Programming\\Net\\Aerwen\\template\\shop\\shop_back" //前端代码存储路径eg:D:\Work\ARWAdmin-Vue3
|
||||
"vuePath": "D:\\.Net\\Aerwen\\micro_mall\\micro_mall_back" //前端代码存储路径eg:D:\Work\ARWAdmin-Vue3
|
||||
},
|
||||
//邮箱配置信息
|
||||
"MailOptions": {
|
||||
@ -154,7 +154,7 @@
|
||||
"TenPayV3_MchId": "1645875842", //商户号
|
||||
"TenPayV3_SubMchId": "", //子商户,没有可留空
|
||||
"TenPayV3_Key": "", // (旧) Key
|
||||
"TenPayV3_CertPath": "D:\\.Net\\Aerwen\\shop_template\\wecaht_information\\cert\\apiclient_cert.p12", //支付证书物理路径,如:D:\\cert\\apiclient_cert.p12
|
||||
"TenPayV3_CertPath": "D:\\.Net\\Aerwen\\micro_mall_api\\wecaht_information\\cert\\apiclient_cert.p12", //支付证书物理路径,如:D:\\cert\\apiclient_cert.p12
|
||||
"TenPayV3_CertSecret": "1645875842", //支付证书密码(原始密码和 MchId 相同)
|
||||
"TenPayV3_TenpayNotify": "http://shop.api.aerwen.net/api/WxPay/Notify", // 回调方法
|
||||
"TenPayV3_RefundNotify": "http://shop.api.aerwen.net/api/WxPay/refundNotifyUrl", // 退款回调方法
|
||||
|
Loading…
Reference in New Issue
Block a user