Merge remote-tracking branch 'origin/weiran'

dev2
WeiRan 2024-09-01 15:14:02 +08:00
commit 52224acf8a
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,"绑定成功");