wesmiler 2 سال پیش
والد
کامیت
c63d1d3e21
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/Services/LiveService.php

+ 1 - 1
app/Services/LiveService.php

@@ -620,7 +620,7 @@ class LiveService extends BaseService
             return false;
         }
 
-        if($info['usewr_id'] != $userId){
+        if($info['user_id'] != $userId){
             $updateData = ['is_online'=> 2, 'update_time'=> time()];
             VideoCollectModel::where(['user_id'=>$userId,'type'=>1,'source_type'=>2,'collect_id'=> $id,'mark'=>1])->update($updateData);