123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- import "../base.api"
- type (
-
- AllocAgentInfo {
- BaseIDInfo
-
- UserId *string `json:"userId,optional"`
-
- OrganizationId *uint64 `json:"organizationId,optional"`
-
- Agents []uint64 `json:"agents,optional"`
-
- Status *int `json:"status,optional"`
- }
- AllocAgentQuery {
-
- UserId *string `json:"userId,optional"`
-
- OrganizationId *uint64 `json:"organizationId,optional"`
- }
-
- AllocAgentListResp {
- BaseDataInfo
-
- Data AllocAgentListInfo `json:"data"`
- }
-
- AllocAgentListInfo {
- BaseListInfo
-
- Data []AllocAgentInfo `json:"data"`
- }
-
- AllocAgentListReq {
- PageInfo
-
- Agents *string `json:"agents,optional"`
- }
-
- AllocAgentInfoResp {
- BaseDataInfo
-
- Data AllocAgentInfo `json:"data"`
- }
- )
- @server(
- jwt: Auth
- group: allocagent
- middleware: Authority
- )
- service Wechat {
-
- @handler createAllocAgent
- post /alloc_agent/create (AllocAgentInfo) returns (BaseMsgResp)
-
- @handler updateAllocAgent
- post /alloc_agent/update (AllocAgentInfo) returns (BaseMsgResp)
-
- @handler deleteAllocAgent
- post /alloc_agent/delete (IDsReq) returns (BaseMsgResp)
-
- @handler getAllocAgentList
- post /alloc_agent/list (AllocAgentListReq) returns (AllocAgentListResp)
-
- @handler getAllocAgentById
- post /alloc_agent (IDReq) returns (AllocAgentInfoResp)
-
- @handler queryAllocAgent
- post /alloc_agent/query (AllocAgentQuery) returns (AllocAgentInfoResp)
-
- @handler doAllocAgent
- post /alloc_agent/alloc (AllocAgentInfo) returns (BaseMsgResp)
- }
|