Ver código fonte

wip:是否认领参数补充appid

fuwencai 3 anos atrás
pai
commit
2558f61e71

+ 1 - 0
api/medical/internal/logic/public/isclaimedlogic.go

@@ -40,6 +40,7 @@ func (l *IsClaimedLogic) IsClaimed(req *types.IsClaimedReq) (resp *types.CommonR
 		UserId: int64(req.UserId),
 		EntId:  entID,
 		Type:   int64(req.Type),
+		AppId:  req.AppId,
 	})
 	return &types.CommonRes{
 		Error_msg:  rs.ErrorMsg,

+ 1 - 0
api/medical/internal/types/types.go

@@ -82,6 +82,7 @@ type IsClaimedReq struct {
 	UserId    int    `header:"newUserId"`      // 用户id
 	CompanyId string `json:"company_id"`       // 机构id
 	Type      int    `json:"type,options=1|2"` // 1 医疗机构 2 经销商
+	AppId     string `header:"appId"`          // appid
 }
 
 type GetNewMsgListReq struct {

+ 1 - 0
api/medical/medical.api

@@ -84,6 +84,7 @@ type IsClaimedReq {
 	UserId    int    `header:"newUserId"`      // 用户id
 	CompanyId string `json:"company_id"`       // 机构id
 	Type      int    `json:"type,options=1|2"` // 1 医疗机构 2 经销商
+	AppId     string `header:"appId"`          // appid
 }
 
 // 获取机构信息请求