diff --git a/.gitignore b/.gitignore index 5e580abb..fffe2006 100644 --- a/.gitignore +++ b/.gitignore @@ -52,3 +52,7 @@ apps/services/timer node_modules/ .output/ .nuxt/ + +# 误入库的运行日志:lego 未配置日志路径时会在工作目录写 ./log, +# 本地跑一次服务或 go test 就被覆写一次,制造无意义 diff。 +apps/services/comm/log diff --git a/apps/services/comm/log b/apps/services/comm/log deleted file mode 100644 index eaf64f25..00000000 --- a/apps/services/comm/log +++ /dev/null @@ -1 +0,0 @@ -2026/08/20 17:15:59.311 ERROR comm/moduleconfig.go:247 [ModuleConfig] 密钥字段解密失败,已跳过该字段(保留默认值) module=wechatpay key=PrivateKeyPath err=GCM 解密失败: cipher: message authentication failed 本服务key指纹=sha256:19731e34cd8c [不足 32 字节,已右侧补零(原长 30)] 【诊断】密文是用「空 key(FIELD_ENCRYPT_KEY 未注入时补零出的全零密钥)」(指纹 sha256:17a63bfb3b5b [!!未配置 FIELD_ENCRYPT_KEY,正在使用全零密钥])加密的存量数据,与本服务当前 key 不是同一把 —— 到 console 后台把该字段重新填一遍保存,即可用当前 key 重新加密落库