Commit e4190370 by jianan

Fna接口33

parent d42b3c97
......@@ -100,6 +100,7 @@ public class ApiCustomerController {
* @return
*/
@PostMapping("/update")
@Operation(summary = "更新客户信息")
public Result<Boolean> updateCustomer(@RequestBody CustomerUpdateRequest customerUpdateRequest) {
if (customerUpdateRequest == null || customerUpdateRequest.getCustomerBizId() == null) {
throw new BusinessException(ErrorCode.PARAMS_ERROR.getCode(), ErrorCode.PARAMS_ERROR.getMessage());
......
......@@ -19,7 +19,7 @@ public class CustomerUpdateRequest implements Serializable {
/**
* 客户主表业务唯一id
*/
@Schema(description = "客户主表业务唯一id")
@Schema(description = "客户主表业务唯一id", requiredMode = Schema.RequiredMode.REQUIRED)
private String customerBizId;
/**
......
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