songdb 6 years ago
parent
commit
1f7d7beb4e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/Wap/Web/WelfareController.php

+ 1 - 1
app/Http/Controllers/Wap/Web/WelfareController.php

@@ -24,7 +24,7 @@ class WelfareController extends BaseController
         }
 
         $giving = DB::table('book_coin_givings')->where('token',$token)->first();
-        if(!$giving)
+        if(!$giving || $giving->distribution_channel_id != $distribution_channel_id)
         {
             return response('参数有误');
         }