Documentation ¶
Index ¶
- func AliAppCallback(w http.ResponseWriter, r *http.Request) (*common.AliWebPayResult, error)
- func AliWebCallback(w http.ResponseWriter, r *http.Request) (*common.AliWebPayResult, error)
- func Pay(charge *common.Charge) (map[string]string, error)
- func PayToClient(charge *common.Charge) (map[string]string, error)
- func WxAppCallback(w http.ResponseWriter, r *http.Request) (*common.WxPayResult, error)
- func WxCallback(w http.ResponseWriter, r *http.Request) (*common.WxPayResult, error)
- func WxWebCallback(w http.ResponseWriter, r *http.Request) (*common.WxPayResult, error)
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AliAppCallback ¶
func AliAppCallback(w http.ResponseWriter, r *http.Request) (*common.AliWebPayResult, error)
支付宝app支付回调
func AliWebCallback ¶
func AliWebCallback(w http.ResponseWriter, r *http.Request) (*common.AliWebPayResult, error)
func PayToClient ¶
PayToClient 付款给用户接口
func WxAppCallback ¶
func WxAppCallback(w http.ResponseWriter, r *http.Request) (*common.WxPayResult, error)
func WxCallback ¶
func WxCallback(w http.ResponseWriter, r *http.Request) (*common.WxPayResult, error)
WxCallback 微信支付
func WxWebCallback ¶
func WxWebCallback(w http.ResponseWriter, r *http.Request) (*common.WxPayResult, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.