This commit is contained in:
邹宗楠
2024-01-04 16:54:41 +08:00
parent 91b1e0f2d7
commit 3e1e8ebb7b
4 changed files with 6 additions and 5 deletions

View File

@@ -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)
}
//

View File

@@ -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)
}