1
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
package pddapi
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
"testing"
|
||||
"time"
|
||||
)
|
||||
|
||||
func TestGoodsCatsGet(t *testing.T) {
|
||||
@@ -39,3 +41,11 @@ func TestGoodsRecommendGet(t *testing.T) {
|
||||
}
|
||||
t.Log(utils.Format4Output(result, false))
|
||||
}
|
||||
|
||||
func TestName(t *testing.T) {
|
||||
cc := time.Now().Add(-2 * time.Minute)
|
||||
aa := cc.Sub(time.Now()).Seconds()
|
||||
bb := time.Now().Sub(cc).Seconds()
|
||||
fmt.Println(aa)
|
||||
fmt.Println(bb)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user