123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- import "../base.api"
- type (
-
- EmployeeConfigInfo {
- BaseIDInfo
-
- Stype *string `json:"stype,optional"`
-
- Title *string `json:"title,optional"`
-
- Photo *string `json:"photo,optional"`
- }
-
- EmployeeConfigListInfo {
- BaseListInfo
-
- Data []EmployeeConfigInfo `json:"data"`
- }
-
- EmployeeConfigListReq {
-
- Stype *string `json:"stype,optional"`
- }
-
- EmployeeConfig {
- Scene []EmployeeConfigInfo `json:"scene"`
- SwitchIn []EmployeeConfigInfo `json:"switchIn"`
- }
-
- EmployeeConfigListResp {
- BaseDataInfo
-
- Data EmployeeConfig `json:"data"`
- }
- )
- @server(
- jwt: Auth
- group: employee_config
- middleware: Authority
- )
- service Wechat {
-
- @handler getEmployeeListConfig
- get /employee_config/list (EmployeeConfigListReq) returns (EmployeeConfigListResp)
- }
|