Commit db3c9cdd by huluobin

update

parent 757f5b9b
......@@ -6,6 +6,7 @@ import com.gogirl.domain.user.customer.Customer;
import com.gogirl.infrastructure.common.annotation.AuthIgnore;
import com.gogirl.infrastructure.common.annotation.LoginIgnore;
import com.gogirl.infrastructure.common.base.JsonResult;
import com.gogirl.infrastructure.common.exception.RRException;
import com.gogirl.shared.member.CustomerOrderDetail;
import com.gogirl.shared.user.CustomerQuery;
import io.swagger.annotations.Api;
......@@ -92,8 +93,6 @@ public class CustomerController {
}
@AuthIgnore
@ApiOperation(value = "客户根据token获取用户信息")
@GetMapping("/customer/xcx/getUserInfo")
......@@ -152,6 +151,9 @@ public class CustomerController {
@RequestParam(required = false) String preference,
@RequestParam(required = false) String character,
@RequestParam(required = false) Integer customerSource) {
if (customerSource == null) {
throw new RRException("客户来源必填");
}
customerService.updateCustomerDetail(birthdayMonth, birthdayDay, ageGroup, customerId, orderId, orderServeId, storeRecordRealName, sex, age, job, preference, character, customerSource);
return JsonResult.success();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment