Ver Fonte

修改提示

cuixq há 3 anos atrás
pai
commit
c46c476f36

+ 3 - 0
tianhu-system/src/main/java/com/tianhu/system/companyAuth/controller/OwnAuthController.java

@@ -1291,6 +1291,9 @@ public class OwnAuthController extends BaseController {
             }
             }
         System.out.print("开户结果==========>" + companyAccount);
+        if(companyAccount.getJSONObject("errorCode")!=null){
+           return  R.fail(companyAccount.getJSONObject("errorMessage"));
+        }
         //返回cfca用户id
         if(companyAccount.getJSONObject("enterprise")!=null||CommonUtil.isNotEmpty(companyAccount.getJSONObject("enterprise").getString("userId"))){
             String userId = companyAccount.getJSONObject("enterprise").getString("userId");