1
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
)
|
||||
|
||||
// 京西速食(蔬菜)
|
||||
var token1 = `{"access_token":"5ffb6ad8-3f74-4711-b0d7-7b3dad8e4bca","expires_in":1698887957,"scope":"SCOPE","shop_id":57939570,"shop_name":"京西菜市速食","refresh_token":"62ca247b-519d-4b8b-bd1e-54b63208dc55","authority_id":""}`
|
||||
var token1 = `{"access_token":"4bbc6923-8456-4a60-9cc9-9b07bea20810","expires_in":1699490747,"scope":"SCOPE","shop_id":57939570,"shop_name":"京西菜市速食","refresh_token":"b5f5094f-1c47-44ee-8149-88cdd3906230","authority_id":""}`
|
||||
|
||||
// 京西到家(商超)
|
||||
//var token2 = `{"access_token":"7e3853fa-24d4-4649-938b-46947da04c92","expires_in":1698887957,"scope":"SCOPE","shop_id":68023619,"shop_name":"京西到家","refresh_token":"1dd634e9-9f9e-459b-a770-341fb64e4f88","authority_id":""}`
|
||||
|
||||
@@ -14,13 +14,14 @@ func TestGetDispatcherInfo(t *testing.T) {
|
||||
fmt.Println(dispatcherFee)
|
||||
fmt.Println(err)
|
||||
}
|
||||
|
||||
func TestCancelWaybill(t *testing.T) {
|
||||
err := a.ShopOrderDispatcher(64251630, "6923172525153719861", DispatcherFeeTypeCall)
|
||||
err := a.ShopOrderDispatcher(63177531, "6923279680758617958", DispatcherFeeTypeCancel)
|
||||
fmt.Println(err)
|
||||
}
|
||||
|
||||
func TestGetShipmentInfo(t *testing.T) {
|
||||
data, err := a.GetShipmentInfo(6922795601625880116, 0, ShipmentTypeInvoice)
|
||||
data, err := a.GetShipmentInfo(6923279680758617958, 0, ShipmentTypeInvoice)
|
||||
globals.SugarLogger.Debugf("======data := %s", utils.Format4Output(data, false))
|
||||
globals.SugarLogger.Debugf("======data := %s", utils.Format4Output(err, false))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user