Commit 98592885 by qwmqiuwenmin

fix

parent 0daedc2c
......@@ -255,7 +255,7 @@ public class WxEnterpriseController extends WebBaseController{
}else{
wxEnterprise.setContactSecretLastTime(new Date());
wxEnterpriseApiService.update(wxEnterprise);
return resultResponse(HaoBanErrCode.ERR_1,false);
return resultResponse(HaoBanErrCode.ERR_10013);
}
}
......@@ -279,7 +279,7 @@ public class WxEnterpriseController extends WebBaseController{
if(org.apache.commons.lang3.StringUtils.isBlank(res)){
wxEnterprise.setWxSecretKeyLastTime(new Date());
wxEnterpriseApiService.update(wxEnterprise);
return resultResponse(HaoBanErrCode.ERR_1,false);
return resultResponse(HaoBanErrCode.ERR_10013);
}else{
wxEnterprise.setWxSecretKey(wxSecretKey);
wxEnterprise.setWxSecretKeyLastTime(new Date());
......@@ -312,7 +312,7 @@ public class WxEnterpriseController extends WebBaseController{
}else{
wxEnterprise.setMemberSecretLastTime(new Date());
wxEnterpriseApiService.update(wxEnterprise);
return resultResponse(HaoBanErrCode.ERR_1,false);
return resultResponse(HaoBanErrCode.ERR_10013);
}
}
......
......@@ -82,6 +82,8 @@ public enum HaoBanErrCode {
ERR_10011(10011,"正在同步中,请等待结束再操作"),
ERR_10012(10012,"企业微信不存在"),
ERR_10013(10013,"secret设置失败,请确认"),
ERR_DEFINE(-888, "自定义错误"),
ERR_OTHER(-999, "未知错误code");
......
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