|
@@ -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);
|