Commit 2ab1dbbb by 王祖波

配置

parent ddc73c79
......@@ -308,7 +308,7 @@ public class WxStaffController extends WebBaseController {
*/
@IgnoreLogin
@RequestMapping("/get-user-setting")
public HaobanResponse getUserSetting(String wxEnterpriseId, String staffId) {
public HaobanResponse getUserSetting(String wxEnterpriseId, String staffId,String enterpriseId) {
if (StringUtils.isAnyBlank(wxEnterpriseId)) {
return resultResponse(HaoBanErrCode.ERR_2);
}
......@@ -354,7 +354,11 @@ public class WxStaffController extends WebBaseController {
auditSettingVO.setShowAiCustom(this.aiCustom(storeDTO.getEnterpriseId()));
auditSettingVO.setPotentialHide(MarketingSwitcher.POTENTIAL_HIDE_STORE_ENTERPRISE_ID.contains(wxEnterpriseDTO.getEnterpriseId()) ? 1 : 0);
int potentialHide = StringUtils.isNotBlank(MarketingSwitcher.POTENTIAL_HIDE_STORE_ENTERPRISE_ID)
&& StringUtils.isNotBlank(enterpriseId)
&& MarketingSwitcher.POTENTIAL_HIDE_STORE_ENTERPRISE_ID.contains(enterpriseId)
? 1 : 0;
auditSettingVO.setPotentialHide(potentialHide);
return resultResponse(HaoBanErrCode.ERR_1, auditSettingVO);
}
......
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