优惠券额度包
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

30 行
650 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. "testing"
  6. )
  7. func TestCouponCommCheck(t *testing.T) {
  8. err := Init("119.23.182.117:3306", "fnuoos_test1", "root", "Fnuo123com@")
  9. if err != nil {
  10. t.Errorf("Reverse == %s", err)
  11. }
  12. req := md.CouponCheckRequest{
  13. CouponAmount: "",
  14. Uid: "21702",
  15. PvdType: "",
  16. Type: "",
  17. Pvd: "",
  18. Gid: "",
  19. CheckAmount: "",
  20. IsMustReduce: "",
  21. CreateAt: "",
  22. IsChangeState: "",
  23. GoodsTitle: "",
  24. Oid: "",
  25. }
  26. CommCheck(db.Db, req)
  27. }