12345678910111213141516171819202122232425262728293031323334 |
- syntax = "v1"
- info (
- title: "剑鱼标讯" // TODO: add title
- desc: "订阅模块"// TODO: add description
- author: "wangshan"
- email: "wangshan@topnet.net.cn"
- )
- type (
- //
- subscribeRequest {
- PageNum int64 `json:"pageNum,optional"`
- PageSize int64 `json:"pageSize"`
- SelectTime string `json:"selectTime"`
- Area string `json:"area"`
- City string `json:"city"`
- Industry string `json:"industry"`
- BuyerClass string `json:"buyerClass"`
- KeyWords string `json:"keyWords"`
- Subtype string `json:"subtype"`
- UserType string `path:"userType,default=fType,options=fType|vType|mType|eType"` //fType:普通用户;vType:超级订阅用户;mType:大会员用户;eType:商机管理用户;
- }
- //
- commonRes {
- Err_code int `json:"error_code"`
- Err_msg string `json:"error_msg"`
- Data interface{} `json:"data"`
- }
- )
- service bxsubscribe-api {
- @handler subscribeInfo
- post /jybx/subscribe/:userType(subscribeRequest) returns (commonRes)
- }
|