diff --git a/card_pay/api.go b/card_pay/api.go index 0c759c7..f752538 100644 --- a/card_pay/api.go +++ b/card_pay/api.go @@ -21,7 +21,7 @@ const ( ) func CardPaySend(method string, keyArr map[string]string, param map[string]string) (string, error) { - url := "http://test-efps.epaylinks.cn/" + method + url := "https://efps.epaylinks.cn/" + method //https://efps.epaylinks.cn/ for key, value := range param { if value == "" { @@ -53,7 +53,7 @@ func CardPaySend(method string, keyArr map[string]string, param map[string]strin } func CardPaySendSecond(method string, keyArr map[string]string, param map[string]interface{}) (string, error) { - url := "http://test-efps.epaylinks.cn/" + method + url := "https://efps.epaylinks.cn/" + method //https://efps.epaylinks.cn/ for key, value := range param { if value == "" { @@ -85,7 +85,7 @@ func CardPaySendSecond(method string, keyArr map[string]string, param map[string } func CardPayApplySend(method string, keyArr map[string]string, param map[string]string) (string, error) { - url := "http://test-efps.epaylinks.cn/" + method + url := "https://efps.epaylinks.cn/" + method //https://efps.epaylinks.cn/ for key, value := range param { if value == "" { diff --git a/meituan_fenxiao/api.go b/meituan_fenxiao/api.go index 1bf642b..a3cc5f8 100644 --- a/meituan_fenxiao/api.go +++ b/meituan_fenxiao/api.go @@ -2,7 +2,6 @@ package meituan_fenxiao import ( "code.fnuoos.com/go_rely_warehouse/zyos_go_third_party_api.git/comm" - "code.fnuoos.com/go_rely_warehouse/zyos_go_third_party_api.git/md" zhios_third_party_utils "code.fnuoos.com/go_rely_warehouse/zyos_go_third_party_api.git/utils" "crypto/hmac" "crypto/md5" @@ -57,11 +56,11 @@ func MeituanFenXiaoSend(method string, params map[string]interface{}) (string, e } func MeituanFenXiaoGetSign(param map[string]interface{}) string { str := "" - info, ok := param["geo"].(md.MeituanFenXiaoGeoInfo) + info, ok := param["geo"].(map[string]interface{}) if ok { - param["cityId"] = info.CityId - param["lat"] = info.Lat - param["lng"] = info.Lng + param["cityId"] = info["cityId"] + param["lat"] = info["lat"] + param["lng"] = info["lng"] } delete(param, "geo") keys := comm.KsortToStrInterface(param)