diff --git a/app/controller/api/Coupon.php b/app/controller/api/Coupon.php index edf0efc..2cbbcad 100644 --- a/app/controller/api/Coupon.php +++ b/app/controller/api/Coupon.php @@ -939,7 +939,7 @@ class Coupon extends Base //如果到了时间 或者发布数量到达规定 更改商家模式 if( strtotime($account->business["time_limit_end"] ) < $time || - (($TimeListModeReleaseCount + 1) >= $account->business["time_limit_release_count"]) + ($TimeListModeReleaseCount >= $account->business["time_limit_release_count"]) ){ $businessModel = BusinessModel::model_ordinary; }