作者 何书鹏

bug修改

... ... @@ -65,7 +65,7 @@ class Notify extends Api
$user->invite_status = '1';
$user->isUpdate()->save();
$coupon = Db::name('coupon')->find();
if ($coupon['endtime'] < time()){
if ($coupon['endtime'] > time()){
$data = [];
$time = time();
for ($i=1;$i<=$coupon['send_number'];$i++){
... ...