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

This commit is contained in:
Danborad
2026-09-19 00:42:57 +08:00
parent 46a32a957e
commit 11a4320ad8
26 changed files with 722 additions and 22 deletions

View File

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