DESKTOP-2STQMTS\Administrator 1 year ago
parent
commit
472e5288e0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/Http/Controllers/Api/UserController.php

+ 2 - 2
app/Http/Controllers/Api/UserController.php

@@ -80,12 +80,12 @@ class UserController extends FrontController
      * @return \Illuminate\Http\JsonResponse
      */
     function getVideo(){
-
+        $m_id = request()->input('m_id', '');//浏览者
         $token = request()->input('token', '');//token
         if(empty($m_id) || empty($token)) return $this->apiResponseError('',[],401);
         $check = $this->checkLogin($m_id,$token);
         if(!$check) return $this->apiResponseError('',[],401);
-        
+
         $data['one_video'] = 'https://jhnewshop.oss-cn-chengdu.aliyuncs.com/7659551ca700956ae3a2a9a184e3c08b.mp4';
         $data['two_video'] = 'https://jhnewshop.oss-cn-chengdu.aliyuncs.com/7bfdd070327beaa4ae9b7e8ba2ce172c.mp4';
         return $this->apiResponseSuccess('成功',$data);