package couponrpc
|
|
|
|
import "testing"
|
|
|
|
func Test_getCoupon(t *testing.T) {
|
|
|
|
dbname := "shop_v2"
|
|
couponId := "4"
|
|
res, err := GetCouponInfo(dbname, couponId)
|
|
t.Log(res)
|
|
t.Log(err)
|
|
|
|
}
|