Explorar o código

update

Signed-off-by: anderx <anderx@qq.com>
anderx %!s(int64=5) %!d(string=hai) anos
pai
achega
f2fe55a701

+ 3 - 3
src/main/java/com/goafanti/customer/controller/AdminCustomerApiController.java

@@ -247,7 +247,7 @@ public class AdminCustomerApiController extends BaseApiController{
 			return res;
 		}
 		if (customerService.checkMax(TokenManager.getAdminId())) {
-			res.getError().add(buildError("私有客户已达最大限制"));
+			res.getError().add(buildError("","私有客户已达最大限制"));
 			return res;
 		}
 		//将新增客户的空格去除
@@ -536,7 +536,7 @@ public class AdminCustomerApiController extends BaseApiController{
 			return res;
 		}
 		if (customerService.checkMax(TokenManager.getAdminId())) {
-			res.getError().add(buildError("私有客户已达最大限制"));
+			res.getError().add(buildError("","私有客户已达最大限制"));
 			return res;
 		}
 		customerService.updateByOperatorType(uid, oldAid,AFTConstants.USER_RECEIVE);
@@ -774,7 +774,7 @@ public class AdminCustomerApiController extends BaseApiController{
 			return res;
 		}
 		if (customerService.checkMax(aid)) {
-			res.getError().add(buildError("对方私有客户已达最大限制"));
+			res.getError().add(buildError("","对方私有客户已达最大限制"));
 			return res;
 		}
 		customerService.updateByOperatorType(uid,oldAid,AFTConstants.USER_TRANSFER_TO_OTHER, aid);

+ 1 - 1
src/main/resources/props/config_local.properties

@@ -5,7 +5,7 @@ jdbc.driverClassName=com.mysql.jdbc.Driver
 #jdbc.username=dev
 #jdbc.password=123456
 #测试
-jdbc.url=jdbc:mysql://101.37.32.31:3306/aft?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false
+jdbc.url=jdbc:mysql://101.37.32.31:3306/aft20201022?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false
 jdbc.username=root
 jdbc.password=aftdev
 #\u68c0\u6d4b\u6570\u636e\u5e93\u94fe\u63a5\u662f\u5426\u6709\u6548\uff0c\u5fc5\u987b\u914d\u7f6e