diff --git a/coupon_test.go b/coupon_test.go index ab365c9..025c07c 100644 --- a/coupon_test.go +++ b/coupon_test.go @@ -7,7 +7,10 @@ import ( ) func TestCouponCommCheck(t *testing.T) { - + err := Init("119.23.182.117:3306", "fnuoos_test1", "root", "Fnuo123com@") + if err != nil { + t.Errorf("Reverse == %s", err) + } req := md.CouponCheckRequest{ CouponAmount: "", Uid: "21702", diff --git a/go.mod b/go.mod index 524f6c0..60cead7 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,5 @@ go 1.16 require ( github.com/go-sql-driver/mysql v1.6.0 - go.uber.org/zap v1.13.0 - gopkg.in/natefinch/lumberjack.v2 v2.0.0 xorm.io/xorm v1.3.0 )