创建店铺密码强度校验
修改密码 可通过验证码 发送验证码类型限制
This commit is contained in:
@@ -1,12 +1,8 @@
|
||||
package com.czg.account.dto.user;
|
||||
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import jakarta.validation.constraints.Size;
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* @author Administrator
|
||||
*/
|
||||
@@ -22,17 +18,21 @@ public class SysUserEditPwdDTO {
|
||||
*/
|
||||
// @NotBlank(message = "原密码不为空")
|
||||
private String originalPassword;
|
||||
/**
|
||||
* 验证码
|
||||
*/
|
||||
private String code;
|
||||
|
||||
/**
|
||||
* 确认密码
|
||||
*/
|
||||
@NotBlank(message = "确认密码不为空")
|
||||
@NotBlank(message = "确认密码不能为空")
|
||||
private String checkPassword;
|
||||
|
||||
/**
|
||||
* 密码
|
||||
*/
|
||||
@NotBlank(message = "确认密码不为空")
|
||||
@NotBlank(message = "密码不能为空")
|
||||
private String password;
|
||||
|
||||
|
||||
|
||||
@@ -30,9 +30,9 @@ public interface ShopInfoService extends IService<ShopInfo> {
|
||||
*/
|
||||
boolean checkSwitch(Long shopId, ShopSwitchTypeEnum switchType) throws ValidateException;
|
||||
|
||||
Page<ShopInfo> get(PageDTO pageDTO, String profiles, String phone, String shopName, Integer status, Integer isHeadShop);
|
||||
Page<ShopDetailDTO> get(PageDTO pageDTO, String profiles, String phone, String shopName, Integer status, Integer isHeadShop);
|
||||
|
||||
Page<ShopInfo> getShopByMainId(PageDTO pageDTO, String shopName, Integer status);
|
||||
Page<ShopDetailDTO> getShopByMainId(PageDTO pageDTO, String shopName, Integer status);
|
||||
|
||||
Boolean add(ShopInfoAddDTO shopInfoAddDTO);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user