后端【优化】: 用户如果自主注册,将无上级,特后台增加开关,可控制此类用户二次扫码别人的分享海报,是否可以继续进行上下级关联推送。前端已同步更新此功能。

This commit is contained in:
大灰灰
2024-10-31 12:46:54 +08:00
parent a6b0c9e7a2
commit 0a4efbb7f1
4 changed files with 21 additions and 5 deletions

View File

@@ -188,6 +188,7 @@ namespace CoreCms.Net.Web.WebApi.Controllers
var checkInIsOpen = CommonHelper.GetConfigDictionary(allConfigs, SystemSettingConstVars.CheckInIsOpen).ObjectToInt(2); //订单取消时间
var isAllowUserSecondBind = CommonHelper.GetConfigDictionary(allConfigs, SystemSettingConstVars.IsAllowUserSecondBind).ObjectToInt(2); //订单取消时间
var model = new
@@ -256,7 +257,8 @@ namespace CoreCms.Net.Web.WebApi.Controllers
indexPopupWindowHrefUrl,
showCustomForm,
showLiveBroadCast,
allowAddressToUseMap
allowAddressToUseMap,
isAllowUserSecondBind
};
jm.data = model;
return jm;