|
|
@@ -135,9 +135,11 @@ func JudgeUserIsCanBuyWelfareOrders(engine *xorm.Engine, uid int) (err error) { |
|
|
|
} |
|
|
|
if !isContinuousDailyActivity { |
|
|
|
err = errors.New("未连续日活不可购买") |
|
|
|
return |
|
|
|
} |
|
|
|
if days < zhios_order_relate_utils.StrToInt(welfareOrdersLimit.ContinuousDailyActivityNums) { |
|
|
|
err = errors.New("连续日活天数不够") |
|
|
|
return |
|
|
|
} |
|
|
|
|
|
|
|
//3、计算直推人数 |
|
|
|