|
@@ -1301,8 +1301,8 @@ public class OwnAuthController extends BaseController {
|
|
|
}
|
|
|
}
|
|
|
System.out.print("开户结果==========>" + companyAccount);
|
|
|
- if(companyAccount.getJSONObject("head")==null){
|
|
|
- return R.fail(companyAccount.getJSONObject("errorMessage"));
|
|
|
+ if(!companyAccount.has("head")){
|
|
|
+ return R.fail(companyAccount.get("errorMessage")+"请重新提交");
|
|
|
}
|
|
|
//返回cfca用户id
|
|
|
if(companyAccount.getJSONObject("enterprise")!=null||CommonUtil.isNotEmpty(companyAccount.getJSONObject("enterprise").getString("userId"))){
|