chore: 停止跟踪 application/extra/site.php(由数据库生成,避免发布覆盖)

site.php 由后台保存配置时从数据库重新生成(Config::refreshFile / shopro Config::refreshFile),
本地这份只是旧快照;发布用 git ls-files 打包 + tar --overwrite,会把服务器上较新的版本覆盖回旧值。

改为不跟踪后,deploy.js / testdeploy.js 自动不再打包该文件,服务器上由数据库生成的最新配置得以保留。
This commit is contained in:
liufumingren 2026-09-16 21:10:15 +08:00
parent afdcc62459
commit 5d4e455e3e

View File

@ -1,80 +0,0 @@
<?php
return array (
'name' => '云谱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.优化图片加载路径,旧图片将失效,请及时更新<br>',
'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',
);