|
@@ -41,7 +41,7 @@ func GetDidiPoster(key, secret string, param map[string]interface{}) map[string] |
|
|
return res |
|
|
return res |
|
|
} |
|
|
} |
|
|
func GetDidiOrder(key, secret string, param map[string]interface{}) []DidiOrder { |
|
|
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) |
|
|
list := make([]DidiOrder, 0) |
|
|
json.Unmarshal([]byte(gjson.Get(send, "data.order_list").String()), &list) |
|
|
json.Unmarshal([]byte(gjson.Get(send, "data.order_list").String()), &list) |
|
|
return list |
|
|
return list |
|
|