|
@@ -239,12 +239,12 @@ public class CommonController extends BaseController {
|
|
|
*/
|
|
|
@ApiOperation("获取企业ID")
|
|
|
@GetMapping("/findTenantId")
|
|
|
- public AjaxResult<Long> findTenantId(SysTenantQueryBo bo) {
|
|
|
+ public AjaxResult<String> findTenantId(SysTenantQueryBo bo) {
|
|
|
Long tenantId = iSysTenantService.findTenantId(bo);
|
|
|
if(Validator.isNotEmpty(tenantId)){
|
|
|
- return AjaxResult.success("成功",tenantId);
|
|
|
+ return AjaxResult.success("成功",tenantId.toString());
|
|
|
}else{
|
|
|
- return AjaxResult.error("失败",tenantId);
|
|
|
+ return AjaxResult.error("失败",null);
|
|
|
}
|
|
|
}
|
|
|
|