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 WeChatAppCallback(w http.ResponseWriter, r *http.Request) (*common.WeChatPayResult, error)
- func WeChatWebCallback(w http.ResponseWriter, r *http.Request) (*common.WeChatPayResult, error)
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 WeChatAppCallback ¶
func WeChatAppCallback(w http.ResponseWriter, r *http.Request) (*common.WeChatPayResult, error)
func WeChatWebCallback ¶
func WeChatWebCallback(w http.ResponseWriter, r *http.Request) (*common.WeChatPayResult, error)
WeChatCallback 微信支付
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.