feat(payment): 支付插件 - 接入易支付官方标准插件 official-payment-epay

This commit is contained in:
qiuliw committed 2026-09-20 04:04:42 +08:00
1 parent e1a46597d1
commit 0cc39132c9
21 files changed
+995 -2

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
package main
import (
"net/http"
"os"
"time"
paymentplugins "infinite-canvas/backend/payment-plugins"
)
func main() {
provider := paymentplugins.NewEpayProvider(&http.Client{Timeout: 25 * time.Second})
if err := paymentplugins.RunRPC(provider, os.Stdin, os.Stdout); err != nil {
os.Exit(1)
}
}