diff --git a/VERSION b/VERSION index 8c50098d..94ff29cc 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.1 +3.1.1 diff --git a/client/package.json b/client/package.json index 8f228edf..82185357 100644 --- a/client/package.json +++ b/client/package.json @@ -1,7 +1,7 @@ { "name": "zd", "productName": "zd", - "version": "3.1.0", + "version": "3.1.1", "description": "zd", "main": ".webpack/main", "scripts": { diff --git a/demo/default.yaml b/demo/default.yaml index b0213524..68c0c748 100644 --- a/demo/default.yaml +++ b/demo/default.yaml @@ -113,7 +113,7 @@ fields: postfix: "\t" - field: field_use_ranges # 引用內置的定义文件,该文件定义了多个range,他们共享了一些field层面的属性。 - from: test.number.v1.yaml # 引用users/test/number/v1.yaml文件里面的ranges定义。 + from: zentao.number.v1.yaml # 引用yaml/zentao/number/v1.yaml文件里面的ranges定义。 use: medium # 使用该文件中定义的medium分组。 postfix: "\t" diff --git a/internal/pkg/service/fix.go b/internal/pkg/service/fix.go index b17f2806..dcca4da6 100644 --- a/internal/pkg/service/fix.go +++ b/internal/pkg/service/fix.go @@ -7,9 +7,6 @@ import ( "strings" "log" - "regexp" - "strconv" - "strings" consts "github.com/easysoft/zendata/internal/pkg/const" "github.com/easysoft/zendata/internal/pkg/domain" diff --git a/internal/pkg/service/format.go b/internal/pkg/service/format.go index 7138d368..5d6c9630 100644 --- a/internal/pkg/service/format.go +++ b/internal/pkg/service/format.go @@ -10,10 +10,6 @@ import ( consts "github.com/easysoft/zendata/internal/pkg/const" "github.com/easysoft/zendata/internal/pkg/domain" "github.com/easysoft/zendata/internal/pkg/helper" - - consts "github.com/easysoft/zendata/internal/pkg/const" - "github.com/easysoft/zendata/internal/pkg/domain" - "github.com/easysoft/zendata/internal/pkg/helper" ) type FormatService struct { diff --git a/internal/pkg/service/loop.go b/internal/pkg/service/loop.go index d8fbae7f..63ccb64f 100644 --- a/internal/pkg/service/loop.go +++ b/internal/pkg/service/loop.go @@ -6,9 +6,6 @@ import ( "strconv" "strings" - "strconv" - "strings" - "github.com/easysoft/zendata/internal/pkg/domain" "github.com/easysoft/zendata/internal/pkg/helper" "github.com/easysoft/zendata/pkg/utils/vari" diff --git a/internal/pkg/service/res.go b/internal/pkg/service/res.go index faff8302..06cd4315 100644 --- a/internal/pkg/service/res.go +++ b/internal/pkg/service/res.go @@ -4,7 +4,6 @@ import ( "fmt" "os" - "os" "time" consts "github.com/easysoft/zendata/internal/pkg/const" diff --git a/pkg/utils/log/print.go b/pkg/utils/log/print.go index 1c58641d..0b6874f8 100644 --- a/pkg/utils/log/print.go +++ b/pkg/utils/log/print.go @@ -15,10 +15,6 @@ import ( "github.com/fatih/color" zd "github.com/easysoft/zendata" - constant "github.com/easysoft/zendata/internal/pkg/const" - commonUtils "github.com/easysoft/zendata/pkg/utils/common" - "github.com/easysoft/zendata/pkg/utils/vari" - "github.com/fatih/color" ) var (