修复形成分销关系的条件
This commit is contained in:
@ -366,7 +366,7 @@ public class YxUserServiceImpl extends BaseServiceImpl<UserMapper, YxUser> imple
|
|||||||
|
|
||||||
//如果分销没开启直接返回
|
//如果分销没开启直接返回
|
||||||
String open = systemConfigService.getData(SystemConfigConstants.STORE_BROKERAGE_OPEN);
|
String open = systemConfigService.getData(SystemConfigConstants.STORE_BROKERAGE_OPEN);
|
||||||
if(StrUtil.isNotBlank(open) || ShopCommonEnum.ENABLE_2.getValue().toString().equals(open)) return;
|
if(StrUtil.isBlank(open) || ShopCommonEnum.ENABLE_2.getValue().toString().equals(open)) return;
|
||||||
//当前用户信息
|
//当前用户信息
|
||||||
YxUser userInfo = this.getById(uid);
|
YxUser userInfo = this.getById(uid);
|
||||||
if(ObjectUtil.isNull(userInfo)) return;
|
if(ObjectUtil.isNull(userInfo)) return;
|
||||||
|
Reference in New Issue
Block a user