|
@@ -40,6 +40,7 @@ func GetSms(pubKey, platformKey, priKey, mch_no string, args map[string]string) |
|
|
args["id_no"] = AesEncryptECB([]byte(args["id_no"]), []byte(param["sec_key"])) |
|
|
args["id_no"] = AesEncryptECB([]byte(args["id_no"]), []byte(param["sec_key"])) |
|
|
args["bank_card_no"] = AesEncryptECB([]byte(args["bank_card_no"]), []byte(param["sec_key"])) |
|
|
args["bank_card_no"] = AesEncryptECB([]byte(args["bank_card_no"]), []byte(param["sec_key"])) |
|
|
args["mobile_no"] = AesEncryptECB([]byte(args["mobile_no"]), []byte(param["sec_key"])) |
|
|
args["mobile_no"] = AesEncryptECB([]byte(args["mobile_no"]), []byte(param["sec_key"])) |
|
|
|
|
|
args["expire_date"] = AesEncryptECB([]byte(args["expire_date"]), []byte(param["sec_key"])) |
|
|
data, _ := json.Marshal(args) |
|
|
data, _ := json.Marshal(args) |
|
|
param["data"] = string(data) |
|
|
param["data"] = string(data) |
|
|
send, err := Send("fastPay.agreement.signSms", platformKey, priKey, param) |
|
|
send, err := Send("fastPay.agreement.signSms", platformKey, priKey, param) |
|
|