|
@@ -115,6 +115,10 @@ class Settings(BaseSettings):
|
|
|
# 微信小程序配置
|
|
# 微信小程序配置
|
|
|
WXPAY_SECRET: str = "" # 小程序Secret
|
|
WXPAY_SECRET: str = "" # 小程序Secret
|
|
|
|
|
|
|
|
|
|
+ # 门户微信小程序登录(与 WXPAY_* 支付凭证分离)
|
|
|
|
|
+ WECHAT_MP_APPID: str = "" # 门户小程序 AppID,须与 miniprogram manifest 一致
|
|
|
|
|
+ WECHAT_MP_SECRET: str = "" # 门户小程序 AppSecret(仅后端)
|
|
|
|
|
+
|
|
|
# 微信模板消息ID配置
|
|
# 微信模板消息ID配置
|
|
|
WX_TEMPLATE_ORDER_STATUS: str = "" # 订单状态通知模板ID
|
|
WX_TEMPLATE_ORDER_STATUS: str = "" # 订单状态通知模板ID
|
|
|
WX_TEMPLATE_DELIVERY_NOTICE: str = "" # 配送通知模板ID
|
|
WX_TEMPLATE_DELIVERY_NOTICE: str = "" # 配送通知模板ID
|
|
@@ -159,6 +163,7 @@ class Settings(BaseSettings):
|
|
|
"/openapi.json,"
|
|
"/openapi.json,"
|
|
|
"/api/web/auth/login-rsa-public-key,"
|
|
"/api/web/auth/login-rsa-public-key,"
|
|
|
"/api/web/auth/login,"
|
|
"/api/web/auth/login,"
|
|
|
|
|
+ "/api/mini/auth/wechat-login,"
|
|
|
"/api/web/auth/refresh-token,"
|
|
"/api/web/auth/refresh-token,"
|
|
|
"/api/web/auth/mp-webview-exchange,"
|
|
"/api/web/auth/mp-webview-exchange,"
|
|
|
"/api/web/admin/attachment/upload,"
|
|
"/api/web/admin/attachment/upload,"
|