This commit is contained in:
邹宗楠
2023-11-20 09:36:43 +08:00
parent 7ed1aa66e9
commit 763580877a
8 changed files with 59 additions and 25 deletions

View File

@@ -8,7 +8,7 @@ import (
)
// 京西速食(蔬菜)
var token1 = `{"access_token":"624d864c-7750-4248-aecf-ac3f75b9b58e","expires_in":1700092125,"scope":"SCOPE","shop_id":57939570,"shop_name":"京西菜市速食","refresh_token":"70f8ffd2-7fe7-44f2-983f-d9db650b9fdb","authority_id":""}`
var token1 = `{"access_token":"74cfcbc2-4515-4a41-b9fb-f29f39efd4ba","expires_in":1700695057,"scope":"SCOPE","shop_id":57939570,"shop_name":"京西菜市速食","refresh_token":"621872c3-5b67-452d-8e45-f5ec25cc1b86","authority_id":""}`
// 美好菜市
//var token1 = `{"access_token":"9a315a03-c737-4a82-ae52-c9a6ce827007","expires_in":1699490747,"scope":"SCOPE","shop_id":68032645,"shop_name":"美好菜市","refresh_token":"8334c006-5301-4d25-911b-4d8cc7b70ebb","authority_id":""}`

View File

@@ -8,7 +8,7 @@ import (
)
func TestBillDetail(t *testing.T) {
orderDetail, err := a.GetTiktokOrderDetail("6923379475577116595")
orderDetail, err := a.GetTiktokOrderDetail("6923675806562457471")
if err != nil {
fmt.Println(err)
}

View File

@@ -16,7 +16,7 @@ func TestGetDispatcherInfo(t *testing.T) {
}
func TestCancelWaybill(t *testing.T) {
err := a.ShopOrderDispatcher(103926218, "6923441722750145796", DispatcherFeeTypeCancel)
err := a.ShopOrderDispatcher(64251630, "6923758679166948853", DispatcherFeeTypeCancel)
fmt.Println(err)
}