mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 16:29:19 +08:00
feat(profile): 允许用户修改用户名(loginCode)
- 后端 UpdateUserInfoDTO 新增 loginCode 字段 - 后端 Service 层新增 loginCode 唯一性检查,已被使用则报错 - 前端表单支持编辑用户名 - 前端 DTO 类型同步更新
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
export namespace UserDTO {
|
||||
/** 更新用户信息参数 */
|
||||
export interface UpdateUserInfoDTO {
|
||||
/** 登录账号(用户名) */
|
||||
loginCode?: string;
|
||||
/** 用户名称 */
|
||||
realName?: string;
|
||||
/** 头像图片ID */
|
||||
|
||||
Reference in New Issue
Block a user