Browse Source

Merge remote-tracking branch 'origin/dev' into test

wanghui 8 years ago
parent
commit
8cec0612cb

+ 1 - 0
src/main/java/com/goafanti/customer/controller/CustomerApiController.java

@@ -602,6 +602,7 @@ public class CustomerApiController extends BaseApiController{
 		Result res = new Result();
 		if(StringUtils.isBlank(uid) || StringUtils.isBlank(aid)){
 			res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR, "客户编号或管理员编号"));
+			return res;
 		}
 		customerService.updateByOperatorType(uid, AFTConstants.USER_TRANSFER_TO_OTHER, aid);
 		return res;