This commit is contained in:
jeremygan2021
2026-02-10 22:55:50 +08:00
parent c55c4ca374
commit 33f7606259
12 changed files with 4 additions and 2 deletions

View File

@@ -192,8 +192,9 @@ UNFOLD = {
},
}
# 用自动补齐斜杠,防止破坏微信支付的 POST 回调
APPEND_SLASH = False
# 重新启用自动补齐斜杠,方便 Admin 使用
# 微信支付回调接口已在 urls.py 中配置 re_path 兼容无斜杠的情况
APPEND_SLASH = True
LOGGING = {
'version': 1,