Browse Source

客户管理

wanghui 8 years ago
parent
commit
958a9e7ce4

+ 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;