|
|
- package coupon
-
- import (
- "testing"
- )
-
- func Test_IsAvailable(t *testing.T) {
-
- dbname := "test1_tetele_com"
- user_id := "2"
- product_id := "2"
- user_coupon_id := "3"
- res, err := IsAvailable(dbname, user_id, product_id, user_coupon_id)
- t.Log(res)
- t.Log(err)
-
- }
|