This commit is contained in:
邹宗楠
2025-02-07 11:17:12 +08:00
parent eaaf58cb23
commit 5ba7ff7938
11 changed files with 205 additions and 65 deletions

View File

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