|
@@ -27,7 +27,7 @@ type (
|
|
|
//
|
|
|
someInfoReq {
|
|
|
AppId string `json:"appId"`
|
|
|
- UserType string `json:"userType"`
|
|
|
+ UserType string `path:"userType"`
|
|
|
}
|
|
|
//
|
|
|
commonResp {
|
|
@@ -40,5 +40,5 @@ service bxsubscribe-api {
|
|
|
@handler subscribeList
|
|
|
post /jybx/subscribe/:userType/list(subscribeReq) returns (commonResp)
|
|
|
@handler someInfo
|
|
|
- post /jybx/subscribe/someInfo(someInfoReq) returns (commonResp)
|
|
|
+ post /jybx/subscribe/:userType/someInfo(someInfoReq) returns (commonResp)
|
|
|
}
|