1234567891011121314151617181920212223242526272829303132333435 |
- syntax = "v1"
- info(
- author: "wangchuanjin"
- date: "2022-04-19"
- desc: "资源中台相关api"
- )
- type (
- surplusReq {
- Appid string `json:"appid"`
- Function_code string `json:"function_code"`
- Muser_id string `json:"userId,optional"`
- User_id int64 `json:"newUserId,optional"`
- Ent_id int64 `json:"entId,optional"`
- Ent_user_id int64 `json:"entUserId,optional"`
- }
- Reply {
- Err_code int64 `json:"err_code"`
- Err_msg string `json:"err_msg"`
- Data interface{} `json:"data"`
- }
- surplusData {
- Surplus int64 `json:"surplus"`
- Total int64 `json:"total"`
- }
- )
- service resource {
- @doc "获取资源剩余详情"
- @handler surplusDetail
- post /resourceCenter/surplus (surplusReq) returns (Reply)
- }
|