123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <?php
- namespace app\api\controller\tvuser;
- use app\common\controller\Api;
- use think\Db;
- class Baseconfig extends Api
- {
- protected $noNeedLogin = ['*'];
- protected $noNeedRight = ['*'];
-
- public function index(){
- $config = [
- 'tv_wenzhen_doctorlist_bottom' => config('site.tv_wenzhen_doctorlist_bottom'),
- 'tv_wenzhen_tvpay_text' => config('site.tv_wenzhen_tvpay_text'),
- 'tv_family_qrcode' => localpath_to_netpath(config('site.tv_family_qrcode')),
- 'tv_family_bottom' => config('site.tv_family_bottom'),
- 'tv_family_top' => config('site.tv_family_top'),
- 'tv_device_index_text1' => config('site.tv_device_index_text1'),
- 'tv_device_index_text2' => config('site.tv_device_index_text2'),
- 'tv_device_index_image' => config('site.tv_device_index_image'),
- 'tv_wenzhen_no_camera_notice' => config('site.tv_wenzhen_no_camera_notice'),
- 'tv_friend_no_camera_notice' => config('site.tv_friend_no_camera_notice'),
- 'tv_imgroup_switch' => config('site.tv_imgroup_switch'),
- 'tv_wenzhen_calltimeout_seconds' => config('site.tv_wenzhen_calltimeout_seconds'),
- ];
- $this->success('success',$config);
- }
- }
|