Commit 6580c000 by 徐高华

好办小程序权限

parent b704008c
......@@ -202,6 +202,15 @@ public class WxEnterpriseInfoController extends WebBaseController {
return response;
}
// 特殊处理
Object shachi = RedisUtil.getCache("haoban-test-account-shachi") ;
if(null != shachi && shachi.toString().contains(corpId)) {
HaobanResponse response = new HaobanResponse();
response.setErrorCode(-888);
response.setMessage("已无可用许可,购买后可继续使用");
return response;
}
StaffDTO loginStaff = null;
if (wxEnterprise != null) {
loginStaff = staffApiService.getByUserIdAndReflushWhenNoPhone(userId, wxEnterprise.getWxEnterpriseId());
......
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