修复企业认证部分bug
parent
52224acf8a
commit
59621a8c16
|
@ -68,7 +68,7 @@ public class CompanyController {
|
||||||
@Operation(summary = "是否企业绑定了",description = "是否企业绑定了")
|
@Operation(summary = "是否企业绑定了",description = "是否企业绑定了")
|
||||||
public Result ifcompanyauthentication(){
|
public Result ifcompanyauthentication(){
|
||||||
User user = companyService.ifcompanyauthentication();
|
User user = companyService.ifcompanyauthentication();
|
||||||
if (user.getIsCompanyid()==0 || null==user.getIsCompanyid()){
|
if (null==user.getIsCompanyid() || user.getIsCompanyid().intValue()==0){
|
||||||
return Result.error("请先进行企业绑定");
|
return Result.error("请先进行企业绑定");
|
||||||
}
|
}
|
||||||
return Result.success(null,"绑定成功");
|
return Result.success(null,"绑定成功");
|
||||||
|
|
Loading…
Reference in New Issue