<?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'),//家庭乐园视频弹窗文字
        ];

        $this->success('success',$config);
    }

}