controllers/request/worker_request.go
@@ -1,5 +1,7 @@ package request import "silkserver/constvar" type GetWorkerList struct { PageInfo KeyWord string `json:"keyWord"` @@ -14,3 +16,13 @@ PageInfo KeyWord string `json:"keyWord"` } type SalaryType struct { Type constvar.MiniDictType `json:"type"` //字典类型,薪资类型:8 Values []SalaryTypeValue `json:"values"` } type SalaryTypeValue struct { Name string `json:"name"` //名称 IsDefault bool `json:"isDefault"` //是否可编辑 }