Browse Source

test

tags/v1.0.7
Hjj 2 years ago
parent
commit
9e953990c0
2 changed files with 4 additions and 3 deletions
  1. +4
    -1
      coupon_test.go
  2. +0
    -2
      go.mod

+ 4
- 1
coupon_test.go View File

@@ -7,7 +7,10 @@ import (
) )


func TestCouponCommCheck(t *testing.T) { 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{ req := md.CouponCheckRequest{
CouponAmount: "", CouponAmount: "",
Uid: "21702", Uid: "21702",


+ 0
- 2
go.mod View File

@@ -4,7 +4,5 @@ go 1.16


require ( require (
github.com/go-sql-driver/mysql v1.6.0 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 xorm.io/xorm v1.3.0
) )

Loading…
Cancel
Save