浏览代码

用户端首页

lizhen_gitee 8 月之前
父节点
当前提交
8d95f829ca
共有 2 个文件被更改,包括 5 次插入0 次删除
  1. 3 0
      application/api/controller/Index.php
  2. 2 0
      application/extra/site.php

+ 3 - 0
application/api/controller/Index.php

@@ -36,6 +36,9 @@ class Index extends Api
         $header = Db::name('user_company')->field('header,header_mobile,header_avatar')
             ->where('user_id',$this->auth->id)->find();
         $header = info_domain_image($header,['header_avatar']);
+        
+        $header['jishuguifan']  = localpath_to_netpath(config('site.user_index_jishuguifan'));
+        $header['caozuoguifan'] = localpath_to_netpath(config('site.user_index_caozuoguifan'));
 
         //关于我们
         $aboutus = Db::name('company')->field('aboutus,aboutus_image')

+ 2 - 0
application/extra/site.php

@@ -58,4 +58,6 @@ return array (
   'worker_ios_update_force' => '0',
   'worker_ios_update_title' => '新的版本',
   'worker_ios_update_info' => '界是你没有挽过的船新版本',
+  'user_index_jishuguifan' => '/uploads/20240729/58261a1e1cd204996f785ca4a642fcdf.png',
+  'user_index_caozuoguifan' => '/uploads/20240729/d02e9c32f2ecd6a8f1963c5d1c1d6127.png',
 );