From fc5fd88ec96603bc3e443e5107966bf63252f26a Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Thu, 1 Aug 2024 10:42:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=BB=B4=E6=BB=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- didi/api.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/didi/api.go b/didi/api.go index b4122d0..54f255b 100644 --- a/didi/api.go +++ b/didi/api.go @@ -27,14 +27,14 @@ func GetDidiUrl(key, secret string, param map[string]interface{}) map[string]str return res } func GetDidiQrcode(key, secret string, param map[string]interface{}) map[string]string { - send, _ := GetSend("/openapi/v1.0/code/generate", key, secret, param) + send, _ := GetSendJson("/openapi/v1.0/code/generate", key, secret, param) res := map[string]string{ "code_link": gjson.Get(send, "data.code_link").String(), } return res } func GetDidiPoster(key, secret string, param map[string]interface{}) map[string]string { - send, _ := GetSend("/openapi/v1.0/poster/generate", key, secret, param) + send, _ := GetSendJson("/openapi/v1.0/poster/generate", key, secret, param) res := map[string]string{ "poster_link": gjson.Get(send, "data.poster_link").String(), }