wesmiler hace 2 semanas
padre
commit
0428f0bcf1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Services/Api/MemberService.php

+ 1 - 1
app/Services/Api/MemberService.php

@@ -255,7 +255,7 @@ class MemberService extends BaseService
             }
 
             // 注册奖励优惠券
-           if(!SettleService::make()->registerReward($userId)){
+           if(!$coupon = SettleService::make()->registerReward($userId)){
                DB::rollBack();
                $this->error = 2018;
                return false;