Feature bookstore update (#253)

* update bookstore

* update bookstore
This commit is contained in:
songmeizi
2020-12-08 22:36:48 +08:00
committed by GitHub
parent 4d53045c6b
commit b060867009
26 changed files with 702 additions and 506 deletions

View File

@@ -8,7 +8,7 @@ package checker
import (
"context"
check "bookstore/rpc/check/internal/pb"
"bookstore/rpc/check/check"
"github.com/tal-tech/go-zero/zrpc"
)
@@ -33,6 +33,6 @@ func NewChecker(cli zrpc.Client) Checker {
}
func (m *defaultChecker) Check(ctx context.Context, in *CheckReq) (*CheckResp, error) {
checker := check.NewCheckerClient(m.cli.Conn())
return checker.Check(ctx, in)
client := check.NewCheckerClient(m.cli.Conn())
return client.Check(ctx, in)
}