浏览代码

wip:消息分发接口定义

wangkaiyue 2 年之前
父节点
当前提交
c32419a9bb
共有 1 个文件被更改,包括 10 次插入1 次删除
  1. 10 1
      jyBXSubscribe/api/bxsubscribe.api

+ 10 - 1
jyBXSubscribe/api/bxsubscribe.api

@@ -105,6 +105,13 @@ type (
 		UserType  string `path:"userType,optional"`
 		InfoId    string `json:"infoId,optional"`
 	}
+	msgDistributor{
+		AppId     string `header:"appId"`
+		EntId     string `header:"entId,optional"`
+		EntUserId string `header:"entUserId,optional"`
+		MessageId string  `json:"messageId"`
+		Staffs    string  `json:"staffs"`
+	}
 )
 service bxsubscribe-api {
 	@handler subscribeList
@@ -123,4 +130,6 @@ service bxsubscribe-api {
 	post /jybx/subscribe/:userType/distributor(DistributorReq) returns (commonResp)
 	@handler viewStatus
 	post /jybx/subscribe/:userType/viewStatus(viewStatusReq) returns (commonResp)
-}
+    @handler msgDistributor
+	post /juybx/subscribe/msgDistributor(msgDistributor) returns (commonResp)
+}