From 6ef1b14f735acdc3ff77a50da1bb09a5bb983dcc Mon Sep 17 00:00:00 2001
From: tj <1378534974@qq.com>
Date: 星期三, 28 五月 2025 17:37:06 +0800
Subject: [PATCH] location,userinfo

---
 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