|
@@ -122,23 +122,23 @@ type (
|
|
}
|
|
}
|
|
GetUserReq {
|
|
GetUserReq {
|
|
AppId string `header:"appId"`
|
|
AppId string `header:"appId"`
|
|
- EntId string `header:"entId,optional"`
|
|
|
|
- EntUserId string `header:"entUserId,optional"`
|
|
|
|
|
|
+ EntId int64 `header:"entId,optional"`
|
|
|
|
+ EntUserId int64 `header:"entUserId,optional"`
|
|
PositionType int64 `header:"positionType,optional"`
|
|
PositionType int64 `header:"positionType,optional"`
|
|
UserId string `header:"userId,optional"`
|
|
UserId string `header:"userId,optional"`
|
|
}
|
|
}
|
|
SetUserReq {
|
|
SetUserReq {
|
|
AppId string `header:"appId"`
|
|
AppId string `header:"appId"`
|
|
- EntId string `header:"entId,optional"`
|
|
|
|
- EntUserId string `header:"entUserId,optional"`
|
|
|
|
|
|
+ EntId int64 `header:"entId,optional"`
|
|
|
|
+ EntUserId int64 `header:"entUserId,optional"`
|
|
PositionType int64 `header:"positionType,optional"`
|
|
PositionType int64 `header:"positionType,optional"`
|
|
UserId string `header:"userId,optional"`
|
|
UserId string `header:"userId,optional"`
|
|
Mail string `json:"mail,optional"`
|
|
Mail string `json:"mail,optional"`
|
|
}
|
|
}
|
|
- PushSetReq {
|
|
|
|
|
|
+ SetPushSetReq {
|
|
AppId string `header:"appId"`
|
|
AppId string `header:"appId"`
|
|
- EntId string `header:"entId,optional"`
|
|
|
|
- EntUserId string `header:"entUserId,optional"`
|
|
|
|
|
|
+ EntId int64 `header:"entId,optional"`
|
|
|
|
+ EntUserId int64 `header:"entUserId,optional"`
|
|
PositionType int64 `header:"positionType,optional"`
|
|
PositionType int64 `header:"positionType,optional"`
|
|
UserId string `header:"userId,optional"`
|
|
UserId string `header:"userId,optional"`
|
|
Item string `json:"item"`
|
|
Item string `json:"item"`
|
|
@@ -168,12 +168,12 @@ service bxsubscribe-api {
|
|
post /jybx/subscribe/:userType/viewStatus(viewStatusReq) returns (commonResp)
|
|
post /jybx/subscribe/:userType/viewStatus(viewStatusReq) returns (commonResp)
|
|
@handler msgDistributor
|
|
@handler msgDistributor
|
|
post /jybx/subscribe/msgDistributor(msgDistributor) returns (commonResp)
|
|
post /jybx/subscribe/msgDistributor(msgDistributor) returns (commonResp)
|
|
- @handler userInfo //查询用户信息
|
|
|
|
- post /jybx/subscribe/userInfo (GetUserReq) returns (commonResp)
|
|
|
|
|
|
+ @handler getUser //查询用户信息
|
|
|
|
+ post /jybx/subscribe/getUser (GetUserReq) returns (commonResp)
|
|
@handler setUser //设置用户信息
|
|
@handler setUser //设置用户信息
|
|
post /jybx/subscribe/setUser (SetUserReq) returns (commonResp)
|
|
post /jybx/subscribe/setUser (SetUserReq) returns (commonResp)
|
|
@handler getPushSet //推送设置查询
|
|
@handler getPushSet //推送设置查询
|
|
- post /jybx/subscribe/getPushSet (GetUserReq) returns (commonResp)
|
|
|
|
|
|
+ post /jybx/subscribe/getPushSet (SetPushSetReq) returns (commonResp)
|
|
@handler setPushSet //推送设置修改
|
|
@handler setPushSet //推送设置修改
|
|
post /jybx/subscribe/setPushSet (GetUserReq) returns (commonResp)
|
|
post /jybx/subscribe/setPushSet (GetUserReq) returns (commonResp)
|
|
}
|
|
}
|