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