From fa74612c99459a8b4e94121d2d3bfcc42915208b Mon Sep 17 00:00:00 2001 From: tj <1378534974@qq.com> Date: 星期二, 27 五月 2025 16:08:20 +0800 Subject: [PATCH] loading,wechatLogin --- types/index.ts | 21 +++++++++++++++------ 1 files changed, 15 insertions(+), 6 deletions(-) diff --git a/types/index.ts b/types/index.ts index 3f1ff30..0aa5aff 100644 --- a/types/index.ts +++ b/types/index.ts @@ -1,9 +1,3 @@ -export interface ProtocolData { - id: number; - title: string; - content: string; -} - export interface WxUser { openId: String; sessionKey: String; @@ -13,6 +7,21 @@ purePhoneNumber: String; } +export interface WechatLoginData { + code: string + imgurl?: string + nickname?: string + inviter?: string + phoneNumber?: string + purePhoneNumber?: string +} + +export interface ProtocolData { + id: number; + title: string; + content: string; +} + export interface FilmWorks{ id?: number; -- Gitblit v1.9.3