From 5d4e455e3eedb615ceb7079ab530032b48597de7 Mon Sep 17 00:00:00 2001 From: liufumingren Date: Wed, 16 Sep 2026 21:10:15 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=81=9C=E6=AD=A2=E8=B7=9F=E8=B8=AA?= =?UTF-8?q?=20application/extra/site.php=EF=BC=88=E7=94=B1=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BA=93=E7=94=9F=E6=88=90=EF=BC=8C=E9=81=BF=E5=85=8D?= =?UTF-8?q?=E5=8F=91=E5=B8=83=E8=A6=86=E7=9B=96=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit site.php 由后台保存配置时从数据库重新生成(Config::refreshFile / shopro Config::refreshFile), 本地这份只是旧快照;发布用 git ls-files 打包 + tar --overwrite,会把服务器上较新的版本覆盖回旧值。 改为不跟踪后,deploy.js / testdeploy.js 自动不再打包该文件,服务器上由数据库生成的最新配置得以保留。 --- application/extra/site.php | 80 -------------------------------------- 1 file changed, 80 deletions(-) delete mode 100644 application/extra/site.php diff --git a/application/extra/site.php b/application/extra/site.php deleted file mode 100644 index 0c9b6d9..0000000 --- a/application/extra/site.php +++ /dev/null @@ -1,80 +0,0 @@ - '云谱wms扩展应用', - 'beian' => '', - 'cdnurl' => '', - 'version' => '1.1.24', - 'timezone' => 'Asia/Shanghai', - 'forbiddenip' => '', - 'languages' => - array ( - 'backend' => 'zh-cn', - 'frontend' => 'zh-cn', - ), - 'fixedpage' => 'dashboard', - 'categorytype' => - array ( - 'default' => '默认', - 'page' => '单页', - 'article' => '文章', - 'test' => 'Test', - ), - 'configgroup' => - array ( - 'basic' => '基础配置', - 'email' => '邮件配置', - 'dictionary' => '字典配置', - 'user' => '会员配置', - 'example' => '示例分组', - 'method' => '事件', - 'qiwe' => '企微配置', - ), - 'mail_type' => '1', - 'mail_smtp_host' => 'smtp.qq.com', - 'mail_smtp_port' => '465', - 'mail_smtp_user' => '10000', - 'mail_smtp_pass' => 'password', - 'mail_verify_type' => '2', - 'mail_from' => '10000@qq.com', - 'attachmentcategory' => - array ( - 'category1' => '分类一', - 'category2' => '分类二', - 'custom' => '自定义', - ), - 'domain' => 'https://ye4s.gzxunren.com/tj/#/', - 'appversion2' => '2.1.295', - 'updateDescription' => '1.优化图片加载路径,旧图片将失效,请及时更新
', - 'isForce' => '1', - 'apk' => '/uploads/20260509/29179c0c5677c8137fdbaada30af7352.apk', - 'cdn' => 'http://ye4s.file.gzxunren.com', - 'quxiaolanjie' => '', - 'method' => - array ( - 'quxiaolanjie' => '取消拦截', - 'lanjie' => '拦截', - 'lanshou' => '揽收', - 'help' => '帮助', - 'less' => '少发', - 'guiji' => '查轨迹', - 'weight' => '查重量', - 'wrong' => '错发', - 'damaged' => '破损', - 'multiple' => '多发', - 'urgent' => '催件', - 'changeAddr' => '修改电话地址联系人', - 'weishoudao' => '核实签收', - 'kucun' => '查库存', - 'find' => '数据查询', - 'findPostnum' => '快递号数据查询', - ), - 'apk1' => '/uploads/20251030/e509a91bd11bac5e95ea1483415120f1.apk', - 'appversion' => '2.1.286', - 'appversion3' => '1.0.8', - 'updateDescription3' => '无', - 'isForce3' => '1', - 'apk3' => '/uploads/20260121/95f00f239058ce4af3b2b6f34a544ed1.apk', - 'tokenId' => '15e5cd47-865d-40a5-9ca4-a069615cc7f4', - 'guid' => 'we_jsPkSbQGTspdMMg', -);