Browse Source

账户中心ip企业申请bu修复3

zhaohongpeng 8 years ago
parent
commit
389954d626

+ 2 - 1
src/main/java/com/uas/platform/b2c/common/account/service/impl/EnterpriseServiceImpl.java

@@ -194,8 +194,9 @@ public class EnterpriseServiceImpl implements EnterpriseService{
 			JSONObject data = JSON.parseObject(JSON.toJSONString(detail));
 			String userSpa = data.toJSONString();
 			AccountUtils.register(detail,userView);
+
 		} catch (Exception e) {
-			return new ResultMap(CodeType.SYSTEM_ERROR, "账户中心异常,注册失败");
+			return new ResultMap(CodeType.SYSTEM_ERROR, e.getMessage());
 		}
 		if (result.contains("errMsg") || !result.contains("enuu")) {
 			return new ResultMap(CodeType.SYSTEM_ERROR, "注册失败");