From 19fee314f13d67bfa2b61490a5a004035dab0d1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E4=BC=9F=E4=B9=90?= Date: Thu, 31 Aug 2023 09:45:47 +0800 Subject: [PATCH] x --- api/user.ts | 2 +- cmd/ts/main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/user.ts b/api/user.ts index ffb2b9f..cb74f26 100644 --- a/api/user.ts +++ b/api/user.ts @@ -1,7 +1,7 @@ // @ts-ignore import {Config,http} from "./http"; export interface request { - user_id: number + user_id: string user_password: string } diff --git a/cmd/ts/main.go b/cmd/ts/main.go index a42a557..7c3d69f 100644 --- a/cmd/ts/main.go +++ b/cmd/ts/main.go @@ -87,7 +87,7 @@ func getInd(i int) string { func getType(key string) string { mps := map[string]string{ "int32": "number", - "int64": "number", + "int64": "string", "bytes": "Uint8Array", "Int32Value": "number", "StringValue": "string",