rpc
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.

17 lines
263 B

3 years ago
  1. package coupon
  2. import (
  3. "testing"
  4. )
  5. func Test_IsAvailable(t *testing.T) {
  6. dbname := "test1_tetele_com"
  7. user_id := "2"
  8. product_id := "2"
  9. user_coupon_id := "3"
  10. res, err := IsAvailable(dbname, user_id, product_id, user_coupon_id)
  11. t.Log(res)
  12. t.Log(err)
  13. }