package zyos_go_coupon import ( "code.fnuoos.com/go_rely_warehouse/zyos_go_coupon.git/db" "code.fnuoos.com/go_rely_warehouse/zyos_go_coupon.git/md" "fmt" "testing" ) func TestCouponCommCheck(t *testing.T) { fmt.Println(">>>>>>>>>>>>>>>>>>>>>>") 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", PvdType: "", Type: "", Pvd: "", Gid: "", CheckAmount: "", IsMustReduce: "", CreateAt: "", IsChangeState: "", GoodsTitle: "", Oid: "", } CommCheck(db.Db, req) }