docs: export database, update readme doc, remove useless configs for alipay

This commit is contained in:
RockYang
2023-11-10 16:49:07 +08:00
parent e0965aae5e
commit e94fa4844f
9 changed files with 1614 additions and 32 deletions

View File

@@ -113,7 +113,7 @@ func (h *PaymentHandler) OrderQuery(c *gin.Context) {
// AlipayQrcode 生成支付宝支付 URL 二维码
func (h *PaymentHandler) AlipayQrcode(c *gin.Context) {
if !h.App.SysConfig.EnabledAlipay {
if !h.App.SysConfig.EnabledAlipay || h.alipayService == nil {
resp.ERROR(c, "当前支付通道已经关闭,请联系管理员开通!")
return
}