作者 Your Name

修复一些问题

@@ -2,18 +2,18 @@ package domain @@ -2,18 +2,18 @@ package domain
2 2
3 //员工基本信息描述 3 //员工基本信息描述
4 type StaffDesc struct { 4 type StaffDesc struct {
5 - UserId int `json:"userId"` //用户id 5 + UserId int `json:"userId,string"` //用户id
6 Account string `json:"account"` //用户的账号 6 Account string `json:"account"` //用户的账号
7 UserName string `json:"userName"` //用户的名称 7 UserName string `json:"userName"` //用户的名称
8 } 8 }
9 9
10 //员工的部门 10 //员工的部门
11 type StaffDepartment struct { 11 type StaffDepartment struct {
12 - DepartmentId int `json:"departmentId"` //部门id 12 + DepartmentId int `json:"departmentId,string"` //部门id
13 DepartmentName string `json:"departmentName"` //部门名称 13 DepartmentName string `json:"departmentName"` //部门名称
14 } 14 }
15 15
16 type StaffPosition struct { 16 type StaffPosition struct {
17 - PositionId int `json:"positionId"` 17 + PositionId int `json:"positionId,string"`
18 PositionName string `json:"positionName"` 18 PositionName string `json:"positionName"`
19 } 19 }