parent
c5d4d8fc19
commit
e1d7d6f9d1
@ -1 +1,19 @@
|
||||
package dingdanxia
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
// JdOrderDetails2 【官方不维护】 京东联盟订单行查询
|
||||
// https://www.dingdanxia.com/doc/180/94
|
||||
func (app *App) JdOrderDetails2(notMustParams ...Params) *Result {
|
||||
// 参数
|
||||
params := app.NewParamsWith(notMustParams...)
|
||||
// 请求
|
||||
body, err := app.request("https://api.tbk.dingdanxia.com/jd/order_details2", params, http.MethodPost)
|
||||
// 定义
|
||||
var response JdJyOrderDetailsResponse
|
||||
err = json.Unmarshal(body, &response)
|
||||
return NewJdJyOrderDetailsResult(response, body, err)
|
||||
}
|
||||
|
Loading…
Reference in new issue