|
@@ -70,7 +70,7 @@ productCode 产品代码
|
|
|
userId 用户标识
|
|
|
appId 身份标识
|
|
|
*/
|
|
|
-func (a *activity) UserAllLottery(useProductType, receivingLocation int64, productCode, userId, appId string) *activityC.AllLotteryResp {
|
|
|
+func (a *activity) UserAllLottery(useProductType, receivingLocation, entUserId int64, productCode, userId, appId string) *activityC.AllLotteryResp {
|
|
|
client := a.NewClient()
|
|
|
if client == nil {
|
|
|
return nil
|
|
@@ -81,6 +81,7 @@ func (a *activity) UserAllLottery(useProductType, receivingLocation int64, produ
|
|
|
AppId: appId,
|
|
|
UserId: userId,
|
|
|
ProductCode: productCode, //产品代码
|
|
|
+ EntUserId: entUserId, //用户企业员工id entniche_user.id
|
|
|
})
|
|
|
if err != nil {
|
|
|
log.Println(err)
|