Browse Source

滴滴

master
huangjiajun 4 months ago
parent
commit
fc5fd88ec9
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      didi/api.go

+ 2
- 2
didi/api.go View File

@@ -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(),
}


Loading…
Cancel
Save