From 9d6c4111a97970904838d9ce2ed6effdc6071887 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Fri, 31 May 2024 16:03:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../happy_orchard_reward_exchange_records.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rule/micro_applications/happy_orchard_reward_exchange_records.go b/rule/micro_applications/happy_orchard_reward_exchange_records.go index d58b677..416af81 100644 --- a/rule/micro_applications/happy_orchard_reward_exchange_records.go +++ b/rule/micro_applications/happy_orchard_reward_exchange_records.go @@ -11,7 +11,7 @@ import ( //HappyOrchardUserSeedExchangeReward 用户种子兑换礼品 //TODO::调用此方法前注意开启session、关闭session 会话 -func HappyOrchardUserSeedExchangeReward(session *xorm.Session, records models.HappyOrchardUserSeedRecord, rewardId int, masterId string) error { +func HappyOrchardUserSeedExchangeReward(session *xorm.Session, records models.HappyOrchardUserSeedRecord, rewardId int, masterId string, args map[string]string) error { now := time.Now() //1、获取奖品数据 、 种子数据 @@ -45,6 +45,9 @@ func HappyOrchardUserSeedExchangeReward(session *xorm.Session, records models.Ha WaterNums: seed.WaterNums, State: 1, RecordId: records.Id, + Receiver: args["receiver"], + ReceiverPhone: args["receiver_phone"], + Detail: args["receiver_detail"], LogisticCompany: "", LogisticCompanyCode: "", LogisticNum: "",