10 changed files with 133 additions and 10 deletions
@ -0,0 +1,24 @@ |
|||
package com.epmet.service.impl; |
|||
|
|||
import com.epmet.commons.tools.security.dto.TokenDto; |
|||
import com.epmet.commons.tools.utils.Result; |
|||
import com.epmet.dto.form.UserEnterGridFormDTO; |
|||
import com.epmet.dto.result.UserInfoOnEnterGridResultDTO; |
|||
import com.epmet.service.UserAccessService; |
|||
|
|||
/** |
|||
* @Description |
|||
* @ClassName UserAccessServiceImpl |
|||
* @Author wangc |
|||
* @date 2020.03.30 14:05 |
|||
*/ |
|||
public class UserAccessServiceImpl implements UserAccessService { |
|||
@Override |
|||
public Result<UserInfoOnEnterGridResultDTO> enterGrid(TokenDto tokenDto, UserEnterGridFormDTO formDTO) { |
|||
|
|||
//TODO 加入不放行白名单
|
|||
|
|||
|
|||
return null; |
|||
} |
|||
} |
@ -0,0 +1,29 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Description |
|||
* @ClassName EnterGridFormDTO |
|||
* @Author wangc |
|||
* @date 2020.03.30 14:38 |
|||
*/ |
|||
|
|||
@Data |
|||
public class EnterGridFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
@NotBlank(message = "用户Id不能为空") |
|||
private String userId; |
|||
|
|||
@NotBlank(message = "客户Id不能为空") |
|||
private String customerId; |
|||
|
|||
@NotBlank(message = "网格Id不能为空") |
|||
private String gridId; |
|||
|
|||
} |
Loading…
Reference in new issue