修复企业认证部分bug

dev2
WeiRan 2024-09-01 15:13:41 +08:00
parent e8f33f6d10
commit 0c503f6ff3
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ public class CompanyController {
@Operation(summary = "是否企业绑定了",description = "是否企业绑定了")
public Result ifcompanyauthentication(){
User user = companyService.ifcompanyauthentication();
if (user.getIsCompanyid()==0 || user.getIsCompanyid()==null){
if (user.getIsCompanyid()==0 || null==user.getIsCompanyid()){
return Result.error("请先进行企业绑定");
}
return Result.success(null,"绑定成功");