1
This commit is contained in:
@@ -68,8 +68,8 @@ func TestComplaintList(t *testing.T) {
|
||||
func Test222222(t *testing.T) {
|
||||
a := 57
|
||||
fmt.Println(a&(model.SyncFlagNewMask|model.SyncFlagStoreName) != 0)
|
||||
fmt.Println(a&2 != 0)
|
||||
fmt.Println(a&4 != 0)
|
||||
fmt.Println((a & 2) != 0)
|
||||
fmt.Println((a & 4) != 0)
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
@@ -45,7 +45,7 @@ import (
|
||||
//}
|
||||
//
|
||||
func TestCancel(t *testing.T) {
|
||||
cancelResponse, err := dadaapi.CancelOrder("1100632781686164762", ReasonIDOther, "协商一致")
|
||||
cancelResponse, err := dadaapi.CancelOrder("8000051859647401017", ReasonIDClientCanceled, "协商一致")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
)
|
||||
|
||||
// 京西速食(蔬菜)
|
||||
var token1 = `{"access_token":"11dc639e-d430-4523-884f-49f25b054e02","expires_in":1703705195,"scope":"SCOPE","shop_id":57939570,"shop_name":"京西菜市速食","refresh_token":"c5e48d77-9ab7-446e-90be-0af7ee797f7f","authority_id":""}`
|
||||
var token1 = `{"access_token":"f0f8a7d0-8484-482b-8c3e-39da6a415c27","expires_in":1704307911,"scope":"SCOPE","shop_id":57939570,"shop_name":"京西菜市速食","refresh_token":"8648acb6-35d1-4568-ba49-4f3295129845","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":""}`
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
)
|
||||
|
||||
func TestBillDetail(t *testing.T) {
|
||||
orderDetail, err := a.GetTiktokOrderDetail("6924475525382739211")
|
||||
orderDetail, err := a.GetTiktokOrderDetail("6924471291044304141")
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
}
|
||||
@@ -19,6 +19,7 @@ func TestBillDetail(t *testing.T) {
|
||||
for _, v := range orderDetail.SkuOrderList {
|
||||
childrenOrderList = append(childrenOrderList, v.OrderId)
|
||||
}
|
||||
childrenOrderList = append(childrenOrderList, "6924471291044304141")
|
||||
|
||||
date, datae, err := a.GetSettleBillDetailV3(&order_getSettleBillDetailV3_request.OrderGetSettleBillDetailV3Param{
|
||||
Size: 20,
|
||||
|
||||
Reference in New Issue
Block a user