Commit fcfe7b56 by 林冲

fix(api): 添加总部定价师手机号非空校验

- 在StoreConfigRequest中新增@NotBlank注解
- 针对新增和更新操作组添加校验分组
- 确保总部定价师手机号字段不能为空
1 parent 354e7471
......@@ -66,6 +66,7 @@ public class StoreConfigRequest implements Serializable {
* 总部定价师手机号
*/
@Schema(description = "总部定价师手机号")
@NotBlank(message = "总部定价师手机号不能为空", groups = {AddGroup.class, UpdateGroup.class})
private String staffPhone;
/**
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!