|
|
@@ -41,7 +41,7 @@ func GetDidiPoster(key, secret string, param map[string]interface{}) map[string] |
|
|
|
return res |
|
|
|
} |
|
|
|
func GetDidiOrder(key, secret string, param map[string]interface{}) []DidiOrder { |
|
|
|
send, _ := GetSend("/openapi/v1.0/order/list", key, secret, param) |
|
|
|
send, _ := PostSend("/openapi/v1.0/order/list", key, secret, param) |
|
|
|
list := make([]DidiOrder, 0) |
|
|
|
json.Unmarshal([]byte(gjson.Get(send, "data.order_list").String()), &list) |
|
|
|
return list |
|
|
|