This commit is contained in:
邹宗楠
2022-06-01 21:58:28 +08:00
parent 3c30456fcb
commit dad0d7bb19
2 changed files with 93 additions and 212 deletions

View File

@@ -10,7 +10,11 @@ import (
"time"
)
const salt = "TUsUuzcfWriQ8ZXUQOrxPcScjEGlgMSjJaDMCtVy"
const (
salt = "TUsUuzcfWriQ8ZXUQOrxPcScjEGlgMSjJaDMCtVy"
ResponseCodeSuccess = "SUCCESS"
ResponseCodeFail = "FAIL"
)
// 获取支付签名
func (a *API) Sign(paramsMap map[string]interface{}) string {