Commit 216f6626 authored by liudong1993's avatar liudong1993

小程序初始化

parent 2f963457
......@@ -57,6 +57,12 @@ namespace Mall.Module.User
/// </summary>
private RB_Mall_MagicRepository magicRepository = new RB_Mall_MagicRepository();
/// <summary>
/// 用户共用模块
/// </summary>
private readonly UserCommonModule userCommonModule = new UserCommonModule();
#region 轮播图管理
/// <summary>
/// 轮播图分页列表
......@@ -323,6 +329,12 @@ namespace Mall.Module.User
SetMiniProgramMallTagModule(extModel, isUpdateBasic: false);
}
flag = NewId > 0;
if (flag) {
userCommonModule.InitializeCategoryStyleInfo(extModel.TenantId ?? 0, NewId);//分类样式
userCommonModule.InitializeDistributorBasicsInfo(extModel.TenantId ?? 0, NewId);//分销基础
userCommonModule.InitializeDistributorCustomInfo(extModel.TenantId ?? 0, NewId);//分销自定义
userCommonModule.InitializeProductRecommendInfo(extModel.TenantId ?? 0, NewId);//商品推荐
}
}
return flag;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment