This commit is contained in:
苏尹岚
2021-04-21 14:35:48 +08:00
parent be93f2d9c8
commit d23bba1392
4 changed files with 56 additions and 5 deletions

View File

@@ -28,7 +28,7 @@ func init() {
}
func TestMiniCode(t *testing.T) {
result, err := api.MiniCode(4, strings.ToLower("EFA9876238FC11EB9101525400C36BDA"))
result, err := api.MiniCode(4, strings.ToLower("12521"))
if err != nil {
t.Fatal(err)
}
@@ -36,7 +36,7 @@ func TestMiniCode(t *testing.T) {
}
func TestGenerateLink(t *testing.T) {
result, err := api.GenerateLink(2, 1, strings.ToLower("EFA9876238FC11EB9101525400C36BDA"))
result, err := api.GenerateLink(2, 1, strings.ToLower("12521"))
if err != nil {
t.Fatal(err)
}