wanghui лет назад: 8
Родитель
Сommit
958a9e7ce4
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      src/main/java/com/goafanti/customer/controller/CustomerApiController.java

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

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