添加淘宝

This commit is contained in:
邹宗楠
2023-06-28 09:45:03 +08:00
parent 9327c466a6
commit c13ba506a0
15 changed files with 556 additions and 36 deletions

View File

@@ -24,16 +24,6 @@ func (a *API) ReaderOrderInfo(c *http.Request) (*CallbackOrder, error) {
return callbackOrder, nil
}
func (a *API) OnSaleRefundOrder(c *http.Request) (*OnSaleCancel, error) {
body, _ := ioutil.ReadAll(c.Body)
var onSaleOrder *OnSaleCancel
if err := json.Unmarshal(body, &onSaleOrder); err != nil {
return nil, err
}
return onSaleOrder, nil
}
// QueryOrderDetail 自配送查询订单详情
func (a *API) QueryOrderDetail(req *request2.AlibabaAelophyOrderGetRequest) (*domain.AlibabaAelophyOrderGetOrderResponse, error) {
client := ability591.NewAbility591(&a.client)