You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
616 B
20 lines
616 B
3 years ago
|
package dingdanxia
|
||
3 years ago
|
|
||
|
import (
|
||
|
"encoding/json"
|
||
|
"net/http"
|
||
|
)
|
||
|
|
||
|
// JdOrderDetails2 【官方不维护】 京东联盟订单行查询
|
||
|
// https://www.dingdanxia.com/doc/180/94
|
||
3 years ago
|
func (app *App) JdOrderDetails2(notMustParams ...Params) *JdJyOrderDetailsResult {
|
||
3 years ago
|
// 参数
|
||
|
params := app.NewParamsWith(notMustParams...)
|
||
|
// 请求
|
||
2 years ago
|
request, err := app.request("https://api.tbk.dingdanxia.com/jd/order_details2", params, http.MethodPost)
|
||
3 years ago
|
// 定义
|
||
|
var response JdJyOrderDetailsResponse
|
||
2 years ago
|
err = json.Unmarshal(request.ResponseBody, &response)
|
||
|
return NewJdJyOrderDetailsResult(response, request.ResponseBody, request, err)
|
||
3 years ago
|
}
|