通联宝支付测试
This commit is contained in:
@@ -57,6 +57,15 @@ type CreateUnitorderOrderResult struct {
|
|||||||
Sign string `json:"sign"`
|
Sign string `json:"sign"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type PayInfo struct {
|
||||||
|
AppID string `json:"appID"`
|
||||||
|
TimeStamp string `json:"timeStamp"`
|
||||||
|
NonceStr string `json:"nonceStr"`
|
||||||
|
Package string `json:"package"`
|
||||||
|
SignType string `json:"signType"`
|
||||||
|
PaySign string `json:"paySign"`
|
||||||
|
}
|
||||||
|
|
||||||
func New(appID, appKey, cusID, subAppid string, config ...*platformapi.APIConfig) *API {
|
func New(appID, appKey, cusID, subAppid string, config ...*platformapi.APIConfig) *API {
|
||||||
curConfig := platformapi.DefAPIConfig
|
curConfig := platformapi.DefAPIConfig
|
||||||
if len(config) > 0 {
|
if len(config) > 0 {
|
||||||
|
|||||||
Reference in New Issue
Block a user