|
@@ -18,7 +18,7 @@ func HappyOrchardGiveIntegral(session *xorm.Session, records models.HappyOrchard |
|
|
|
|
|
|
|
|
//2、获取奖品数据 |
|
|
//2、获取奖品数据 |
|
|
db := implement.NewHappyOrchardRewardDb(session.Engine()) |
|
|
db := implement.NewHappyOrchardRewardDb(session.Engine()) |
|
|
happyOrchardReward, err := db.GetHappyOrchardReward(records.SeedId) |
|
|
|
|
|
|
|
|
happyOrchardReward, err := db.GetHappyOrchardReward(records.RewardId) |
|
|
if err != nil { |
|
|
if err != nil { |
|
|
return err |
|
|
return err |
|
|
} |
|
|
} |
|
|