京东物流状态

This commit is contained in:
苏尹岚
2020-10-23 14:50:00 +08:00
parent c162a20312
commit 7c88b4b7bd
3 changed files with 14 additions and 5 deletions

View File

@@ -3,8 +3,9 @@ package jdshopapi
import (
"encoding/base64"
"fmt"
"strings"
"math/rand"
"testing"
"time"
"git.rosy.net.cn/baseapi/utils"
)
@@ -97,6 +98,5 @@ func TestFindStoreInfoByExtStoreId(t *testing.T) {
}
func TestWIREHL(t *testing.T) {
str := "https://51106.cn/c/22f06354336ca9"
fmt.Println(str[strings.LastIndex(str, "/")+1 : len(str)])
fmt.Println(fmt.Sprintf("%06v", rand.New(rand.NewSource(time.Now().UnixNano())).Int31n(1000000)))
}