From 75c5b8fbbe5d20e2732dd2565baf3fb010cbb36e Mon Sep 17 00:00:00 2001 From: Hank Shen Date: Sun, 13 Sep 2020 09:58:31 +0800 Subject: [PATCH] update --- config/pay.go | 5 +++-- go.mod | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/config/pay.go b/config/pay.go index cdd51b2..8fdc31e 100644 --- a/config/pay.go +++ b/config/pay.go @@ -1,7 +1,8 @@ package config import ( - "github.com/webx-top/com" + "strconv" + "github.com/webx-top/echo" ) @@ -13,7 +14,7 @@ type ( ) func (a GoodsType) String() string { - return com.ToStr(a) + return strconv.FormatInt(int64(a), 10) } const ( diff --git a/go.mod b/go.mod index 60f3f7c..18e7839 100644 --- a/go.mod +++ b/go.mod @@ -20,7 +20,7 @@ require ( github.com/smartwalle/alipay/v3 v3.1.5 github.com/stretchr/testify v1.6.1 // indirect github.com/webx-top/captcha v0.0.0-20161202061115-29e9e7f30aa0 // indirect - github.com/webx-top/com v0.0.2 + github.com/webx-top/com v0.0.2 // indirect github.com/webx-top/echo v2.3.5+incompatible github.com/webx-top/tagfast v0.0.0-20161020041435-9a2065ce3dd2 // indirect github.com/webx-top/validation v0.0.0-20200425052735-86da7bb89191 // indirect