Merge branch 'master' of https://e.coding.net/rosydev/baseapi
This commit is contained in:
@@ -21,7 +21,7 @@ func TestApi(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestQueryOrderDetail(t *testing.T) {
|
||||
data, err := a.GetTiktokOrderDetail("5042256005213816296")
|
||||
data, err := a.GetTiktokOrderDetail("5042953882665211095")
|
||||
globals.SugarLogger.Debugf("=====%s", utils.Format4Output(data, false))
|
||||
globals.SugarLogger.Debugf("=====%s", err)
|
||||
}
|
||||
@@ -94,13 +94,5 @@ func TestOrderStatusAndPsInfo(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestMap(t *testing.T) {
|
||||
//fmt.Println(time.Duration(600) * 1000 * 1000 * 100)
|
||||
fmt.Println(time.Duration(600) * time.Second)
|
||||
|
||||
aa := time.Now().Add(time.Duration(570) * time.Second)
|
||||
fmt.Println(aa)
|
||||
//for i := 0; i < 20; i++ {
|
||||
// randNumber, _ := rand.Int(rand.Reader, big.NewInt(640))
|
||||
// fmt.Println(randNumber)
|
||||
//}
|
||||
fmt.Println((57 & 16) != 0)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user