商品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.

18 lines
254 B

  1. package productrpc
  2. import (
  3. "testing"
  4. )
  5. func Test_Favorite(t *testing.T) {
  6. dbname := "shop_v2"
  7. product_id := "1024800"
  8. site_id := "102480"
  9. user_id := "10248"
  10. ret, err := Favorite(site_id, dbname, product_id, user_id)
  11. t.Log(ret)
  12. t.Log(err)
  13. }