Hjj 2 years ago
parent
commit
b2b483ad98
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      coupon_test.go

+ 7
- 0
coupon_test.go View File

@@ -3,11 +3,18 @@ package zyos_go_coupon
import ( import (
"code.fnuoos.com/go_rely_warehouse/zyos_go_coupon.git/db" "code.fnuoos.com/go_rely_warehouse/zyos_go_coupon.git/db"
"code.fnuoos.com/go_rely_warehouse/zyos_go_coupon.git/md" "code.fnuoos.com/go_rely_warehouse/zyos_go_coupon.git/md"
"fmt"
"testing" "testing"
) )


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


Loading…
Cancel
Save