Browse Source

pull

master
listen 2 years ago
parent
commit
fe17e5ff24
2 changed files with 14 additions and 1 deletions
  1. +13
    -0
      user.client_test.go
  2. +1
    -1
      user.proto

+ 13
- 0
user.client_test.go View File

@ -48,3 +48,16 @@ func Test_UpdateUserCache(t *testing.T){
t.Log(res)
}
func Test_GetById(t *testing.T){
dbname := "shop"
siteId := "1198881"
res,err := GetById(siteId,dbname,"6")
if err != nil {
t.Error(err.Error())
}
t.Log(res)
}

+ 1
- 1
user.proto View File

@ -96,7 +96,7 @@ service UserService {
rpc getUserThird(Request) returns (Response); // v2
rpc getBusiness(Request) returns (Response); //
rpc getById(Request) returns (Response); //
rpc updateUserCache(Request) returns (Response); //
rpc updateUserCache(Request) returns (Response); //
rpc getBusinessInfo(Request) returns (Response); //
rpc getAddressInfo(Request) returns (Response); //
rpc getUserScore(Request) returns (Response); //


Loading…
Cancel
Save