|
@@ -0,0 +1,27 @@
|
|
|
+<?php
|
|
|
+
|
|
|
+namespace app\api\controller;
|
|
|
+
|
|
|
+use app\common\controller\Api;
|
|
|
+use think\Db;
|
|
|
+/**
|
|
|
+ * 基础配置接口
|
|
|
+ */
|
|
|
+class Baseconfig extends Api
|
|
|
+{
|
|
|
+ protected $noNeedLogin = ['*'];
|
|
|
+ protected $noNeedRight = ['*'];
|
|
|
+
|
|
|
+
|
|
|
+ public function index(){
|
|
|
+
|
|
|
+ $config = [
|
|
|
+ 'tv_wenzhen_video_serverrule' => config('site.tv_wenzhen_video_serverrule'),//电视盒子视频问诊服务说明
|
|
|
+ 'tv_wenzhen_doctorlist_bottom' => config('site.tv_wenzhen_doctorlist_bottom'),//问诊医生列表页,下标
|
|
|
+ 'tv_wenzhen_tvpay_text' => config('site.tv_wenzhen_tvpay_text'),//会员问诊支付提示
|
|
|
+ ];
|
|
|
+
|
|
|
+ $this->success('success',$config);
|
|
|
+ }
|
|
|
+
|
|
|
+}
|