店铺添加给默认角色
This commit is contained in:
@@ -30,7 +30,7 @@ public class UserController {
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户信息获取
|
||||
* 用户信息修改
|
||||
* @return 用户信息
|
||||
*/
|
||||
// @GetMapping
|
||||
|
||||
@@ -32,8 +32,9 @@ public class ShopInfoAddDTO {
|
||||
private String lng;
|
||||
@NotNull(message = "状态不为空")
|
||||
private String detail;
|
||||
@NotNull(message = "角色id不为空")
|
||||
private Long roleId;
|
||||
// @NotNull(message = "角色id不为空")
|
||||
// todo 默认为管理员角色,后期调整
|
||||
private Long roleId = 1L;
|
||||
private String address;
|
||||
private String phone;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user