Documentation ¶
Index ¶
Constants ¶
View Source
const ( CodedUrl = "https://api.weixin.qq.com/sns/jscode2session?" AppCodeUrl = "https://api.weixin.qq.com/sns/oauth2/access_token?" TokenUrl = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=" PayUrl = "https://api.mch.weixin.qq.com/pay/unifiedorder" Query = "https://api.mch.weixin.qq.com/pay/orderquery" RefundUrl = "https://api.mch.weixin.qq.com/secapi/pay/refund" )
Variables ¶
View Source
var ( OrderParam interface{} Order = make(map[string]interface{}) )
Functions ¶
func GetRemoteClientIp ¶
func GetRemoteClientIp() string
Types ¶
type Config ¶
type ReturnData ¶
Click to show internal directories.
Click to hide internal directories.