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

Merge pull request #546 from qiuliw. Preserve the original author and current main behavior.
This commit is contained in:
qiuliw
2026-09-20 04:56:42 +08:00
committed by ddCat
21 changed files with 995 additions and 2 deletions

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)
}
}