From 9e953990c0e7f91c15ac57df84727d89c2978cd8 Mon Sep 17 00:00:00 2001 From: Hjj <582604932@qq.com> Date: Tue, 10 May 2022 14:45:49 +0800 Subject: [PATCH] test --- coupon_test.go | 5 ++++- go.mod | 2 -- 2 files changed, 4 insertions(+), 3 deletions(-) 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 )