feat : token service
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-01-23 14:58:26 +08:00
parent b3c49eaa34
commit 417c70033b
2 changed files with 2 additions and 2 deletions
@@ -91,7 +91,7 @@ func DeleteScriptsH(ctx *fiber.Ctx) error {
func GetScriptApi(ctx *fiber.Ctx) error {
outgoingContext, cancelFunc := pkg.TransFiberCtx2NewOutgoingContext(ctx, 3*time.Second)
defer cancelFunc()
c := murders.NewMurdersClient(rpc.GetServiceConn("murder"))
c := murders.NewMurdersClient(rpc.GetServiceConn("token"))
page := ctx.Query("page", "1")
limit := ctx.Query("size", "10")