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 | 27 +++++++++++++++++++++------ 1 files changed, 21 insertions(+), 6 deletions(-) diff --git a/types/index.ts b/types/index.ts index 09c8301..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; @@ -11,6 +5,21 @@ user: {}, phoneNumber: String; 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{ @@ -89,4 +98,10 @@ /** 封面图片描述主题 */ coverTitle?: string; + avatar?: String; + + nickname?: String; + + createTime?: String; + } \ No newline at end of file -- Gitblit v1.9.3