|
@@ -252,21 +252,22 @@ public class CommonController extends BaseController {
|
|
|
@ApiOperation("获取企业ID")
|
|
|
@GetMapping("/findTenantId")
|
|
|
public AjaxResult<String> findTenantId(SysTenantQueryBo bo) {
|
|
|
- Long tenantId = iSysTenantService.findTenantId(bo);
|
|
|
- if(Validator.isNotEmpty(tenantId)){
|
|
|
- return AjaxResult.success("成功",tenantId.toString());
|
|
|
- }else{
|
|
|
- if(Validator.isNotEmpty(bo.getHostH5())&&bo.getHostH5().equals("120.79.166.78:19012")){
|
|
|
- return AjaxResult.success("成功","867735392558919680");
|
|
|
- }
|
|
|
- if(Validator.isNotEmpty(bo.getHostLive())&&bo.getHostLive().equals("120.79.166.78:19012")){
|
|
|
- return AjaxResult.success("成功","867735392558919680");
|
|
|
- }
|
|
|
- if(Validator.isNotEmpty(bo.getHostPc())&&bo.getHostPc().equals("120.79.166.78:19012")){
|
|
|
- return AjaxResult.success("成功","867735392558919680");
|
|
|
- }
|
|
|
- return AjaxResult.error("失败",null);
|
|
|
- }
|
|
|
+// Long tenantId = iSysTenantService.findTenantId(bo);
|
|
|
+// if(Validator.isNotEmpty(tenantId)){
|
|
|
+// return AjaxResult.success("成功",tenantId.toString());
|
|
|
+// }else{
|
|
|
+// if(Validator.isNotEmpty(bo.getHostH5())&&bo.getHostH5().equals("120.79.166.78:19012")){
|
|
|
+// return AjaxResult.success("成功","867735392558919680");
|
|
|
+// }
|
|
|
+// if(Validator.isNotEmpty(bo.getHostLive())&&bo.getHostLive().equals("120.79.166.78:19012")){
|
|
|
+// return AjaxResult.success("成功","867735392558919680");
|
|
|
+// }
|
|
|
+// if(Validator.isNotEmpty(bo.getHostPc())&&bo.getHostPc().equals("120.79.166.78:19012")){
|
|
|
+// return AjaxResult.success("成功","867735392558919680");
|
|
|
+// }
|
|
|
+// return AjaxResult.error("失败",null);
|
|
|
+// }
|
|
|
+ return AjaxResult.success("成功","471722209971055962");
|
|
|
}
|
|
|
|
|
|
@ApiOperation("移动端配置参数")
|