|
|
@@ -28,7 +28,7 @@ func (h HappyOrchardSixEnergyBallDb) GetHappyOrchardSixEnergyBall(sess *xorm.Ses |
|
|
|
} |
|
|
|
func (h HappyOrchardSixEnergyBallDb) GetHappyOrchardSixEnergyBallAll(uid, signTime int) (mm *[]models.HappyOrchardSixEnergyBall, err error) { |
|
|
|
var m []models.HappyOrchardSixEnergyBall |
|
|
|
err = h.Db.Where("uid=? and sign_time=?", uid, signTime).Find(m) |
|
|
|
err = h.Db.Where("uid=? and sign_time=?", uid, signTime).Find(&m) |
|
|
|
if err != nil { |
|
|
|
return nil, zhios_order_relate_logx.Error(err) |
|
|
|
} |
|
|
|