修复克隆接口
This commit is contained in:
@@ -46,7 +46,7 @@ public class MybatisPlusConfig {
|
||||
String key = "Domain:" + Domain;
|
||||
String tenantId = redisUtil.get(key);
|
||||
if(tenantId != null){
|
||||
// System.out.println("从域名拿TID = " + tenantId);
|
||||
System.out.println("授权域名" + Domain + " => " + tenantId);
|
||||
return new LongValue(tenantId);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -173,7 +173,6 @@ public class MainController extends BaseController {
|
||||
String key = "TenantInfo:" + tenantId;
|
||||
final String tenantInfo = redisUtil.get(key);
|
||||
if(StrUtil.isNotBlank(tenantInfo)){
|
||||
System.out.println("从缓存读取信息tenantInfo = " + tenantId);
|
||||
return success(JSONObject.parseObject(tenantInfo,Company.class));
|
||||
}
|
||||
// 企业信息
|
||||
|
||||
@@ -150,7 +150,6 @@ public class MenuController extends BaseController {
|
||||
company.setVersionName(version.getVersionName());
|
||||
company.setVersionCode(version.getVersionCode());
|
||||
}
|
||||
company.setClicks(company.getClicks()+1);
|
||||
companyService.updateById(company);
|
||||
return success("安装成功");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user