Browse Source

基础配置

lizhen_gitee 9 months ago
parent
commit
a1e60e7351
2 changed files with 6 additions and 1 deletions
  1. 3 1
      application/api/controller/tvuser/Baseconfig.php
  2. 3 0
      application/extra/site.php

+ 3 - 1
application/api/controller/tvuser/Baseconfig.php

@@ -1,6 +1,6 @@
 <?php
 
-namespace app\api\controller;
+namespace app\api\controller\tvuser;
 
 use app\common\controller\Api;
 use think\Db;
@@ -19,6 +19,8 @@ class Baseconfig extends Api
             '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'),//会员问诊支付提示
+            'tv_family_qrcode'             => localpath_to_netpath(config('site.tv_family_qrcode')),//家庭乐园底部,二维码
+            'tv_family_bottom'             => config('site.tv_family_bottom'),//家庭乐园底部文字
         ];
 
         $this->success('success',$config);

+ 3 - 0
application/extra/site.php

@@ -108,4 +108,7 @@ return array (
 5、以上服务条款最终解释权归平台所有',
   'tv_wenzhen_doctorlist_bottom' => '银川优医达互联网医院提供服务',
   'tv_wenzhen_tvpay_text' => '会员用户每月1次免费问诊',
+  'tv_family_qrcode' => '/uploads/20240606/7538020e10cc8d35c3757b789d38e4e0.png',
+  'tv_family_bottom' => '微信扫码下载
+小屏上传图片',
 );