|
@@ -3,6 +3,7 @@
|
|
|
namespace App\Http\Controllers\Api;
|
|
|
|
|
|
use App\Http\Controllers\FrontController;
|
|
|
+use App\Models\SysModels\Config;
|
|
|
use App\Models\UserModels\WxRecord;
|
|
|
use App\Models\UserModels\WxSignup;
|
|
|
use App\Models\UserModels\WxUser;
|
|
@@ -86,8 +87,10 @@ class UserController extends FrontController
|
|
|
$check = $this->checkLogin($m_id,$token);
|
|
|
if(!$check) return $this->apiResponseError('',[],401);
|
|
|
|
|
|
- $data['one_video'] = 'https://jhvideo.oss-cn-hangzhou.aliyuncs.com/9586e6413a90c0dded2d2d4bb558561e.mp4';
|
|
|
- $data['two_video'] = 'https://jhvideo.oss-cn-hangzhou.aliyuncs.com/ea02e7ad005bec2fc02d869184d5e1b0.mp4';
|
|
|
+ $data['one_video'] = Config::where('key','one_video')->value('value');
|
|
|
+ $data['two_video'] = Config::where('key','two_video')->value('value');
|
|
|
+ $data['three_video'] = Config::where('key','three_video')->value('value');
|
|
|
+ $data['four_video'] = Config::where('key','four_video')->value('value');
|
|
|
return $this->apiResponseSuccess('成功',$data);
|
|
|
}
|
|
|
|