feat: 完成区域管理、装箱功能优化与接口标准化
- 新增区域状态字段与增删改查接口,支持区域启用/停用 - 重构实体字段JSON标签为camelCase格式统一接口规范 - 优化入库、盘点、装箱流程的交互与提示文案 - 新增装箱管理功能,支持合同号关联与装箱编辑 - 调整前端菜单与帮助文档适配业务场景变更
This commit is contained in:
@@ -21,7 +21,7 @@ type User struct {
|
||||
// 密码(哈希)
|
||||
Password string `json:"password,omitempty"`
|
||||
// 姓名
|
||||
RealName string `json:"real_name,omitempty"`
|
||||
RealName string `json:"realName,omitempty"`
|
||||
// 角色 admin/operator/inspector
|
||||
Role string `json:"role,omitempty"`
|
||||
// 部门
|
||||
@@ -29,13 +29,13 @@ type User struct {
|
||||
// 电话
|
||||
Phone string `json:"phone,omitempty"`
|
||||
// 是否启用
|
||||
IsActive bool `json:"is_active,omitempty"`
|
||||
IsActive bool `json:"isActive,omitempty"`
|
||||
// 最近登录时间
|
||||
LastLoginAt int64 `json:"last_login_at,omitempty"`
|
||||
LastLoginAt int64 `json:"lastLoginAt,omitempty"`
|
||||
// CreatedAt holds the value of the "created_at" field.
|
||||
CreatedAt int64 `json:"created_at,omitempty"`
|
||||
CreatedAt int64 `json:"createdAt,omitempty"`
|
||||
// UpdatedAt holds the value of the "updated_at" field.
|
||||
UpdatedAt int64 `json:"updated_at,omitempty"`
|
||||
UpdatedAt int64 `json:"updatedAt,omitempty"`
|
||||
selectValues sql.SelectValues
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user