Kaynağa Gözat

Merge branch 'dev/v1.1.20.2_fuwencai' of BaseService/jyMicroservices into hotfix/v1.1.20.2

wangshan 2 yıl önce
ebeveyn
işleme
4c68aeed1a

+ 2 - 1
jyBXSubscribe/api/bxsubscribe.api

@@ -37,7 +37,8 @@ type (
 		NotReturnCount int64                  `json:"notReturnCount,optional"`
 		Item           map[string]interface{} `json:"item,optional"`
 		MgoUserId      string                 `header:"mgoUserId,optional"` //原userId
-
+		AccountId      string                 `header:"accountId,optional"`
+		PositionId     string                 `header:"positionId,optional"`
 	}
 	//
 	someInfoReq {

+ 2 - 0
jyBXSubscribe/api/internal/logic/subscribeListLogic.go

@@ -79,6 +79,8 @@ func (l *SubscribeListLogic) SubscribeList(req *types.SubscribeReq) (resp *types
 		PositionType:   req.PositionType,
 		NotReturnCount: req.NotReturnCount,
 		Item:           matchitems,
+		AccountId:      req.AccountId,
+		PositionId:     req.PositionId,
 		MgoUserId:      req.MgoUserId,
 	})
 	if err != nil {

+ 2 - 0
jyBXSubscribe/api/internal/types/types.go

@@ -29,6 +29,8 @@ type SubscribeReq struct {
 	NotReturnCount int64                  `json:"notReturnCount,optional"`
 	Item           map[string]interface{} `json:"item,optional"`
 	MgoUserId      string                 `header:"mgoUserId,optional"` //原userId
+	AccountId      string                 `header:"accountId,optional"`
+	PositionId     string                 `header:"positionId,optional"`
 }
 
 type SomeInfoReq struct {