feat(payment): 支付插件 - 合并 PR #546 易支付适配

Merge pull request #546 from qiuliw. Preserve the original author and current main behavior.
This commit is contained in:
qiuliw authored and ddCat committed 2026-09-20 04:56:42 +08:00
commit 6eaeddc77c
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)
}
}