用户接口远程调用
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.

25 lines
327 B

  1. package userrpc
  2. import (
  3. "testing"
  4. )
  5. func Test_GetUserScore(t *testing.T) {
  6. dbname := "shop_v2"
  7. id := "2"
  8. ret, err := GetUserScore(dbname, id)
  9. t.Log(ret)
  10. t.Log(err)
  11. }
  12. func Test_GetUserRedEnvelope(t *testing.T) {
  13. dbname := "shop_v2"
  14. id := "2"
  15. ret, err := GetUserRedEnvelope(dbname, id)
  16. t.Log(ret)
  17. t.Log(err)
  18. }