优惠券额度包
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
698 B

  1. package zyos_go_coupon
  2. import (
  3. "code.fnuoos.com/go_rely_warehouse/zyos_go_coupon.git/db"
  4. "code.fnuoos.com/go_rely_warehouse/zyos_go_coupon.git/md"
  5. "fmt"
  6. "testing"
  7. )
  8. func TestCouponCommCheck(t *testing.T) {
  9. fmt.Println(">>>>>>>>>>>>>>>>>>>>>>")
  10. err := Init("119.23.182.117:3306", "fnuoos_test1", "root", "Fnuo123com@")
  11. if err != nil {
  12. t.Errorf("Reverse == %s", err)
  13. }
  14. req := md.CouponCheckRequest{
  15. CouponAmount: "",
  16. Uid: "21702",
  17. PvdType: "",
  18. Type: "",
  19. Pvd: "",
  20. Gid: "",
  21. CheckAmount: "",
  22. IsMustReduce: "",
  23. CreateAt: "",
  24. IsChangeState: "",
  25. GoodsTitle: "",
  26. Oid: "",
  27. }
  28. CommCheck(db.Db, req)
  29. }