From 1f0d4881f31f593819021ecbab4a9bc6d4a74c93 Mon Sep 17 00:00:00 2001 From: Dawn1Ocean <1785590531@qq.com> Date: Wed, 20 Mar 2024 21:21:23 +0800 Subject: [PATCH] remove newcomment api --- doc/api.md | 11 ----------- src/app.ts | 1 - src/wechat/index.ts | 4 ++-- 3 files changed, 2 insertions(+), 14 deletions(-) diff --git a/doc/api.md b/doc/api.md index 396a559..084cbed 100644 --- a/doc/api.md +++ b/doc/api.md @@ -180,17 +180,6 @@ data (same as oreo): ## 工单详情 -### 创建评论 `POST /tickets/newcomment?id={id}` - -Request - -```json -{ - "content": "这是一条评论", - "token": "token_test" -} -``` - ### 创建工单 `POST /tickets/create` Request diff --git a/src/app.ts b/src/app.ts index 0abcce3..ff11124 100644 --- a/src/app.ts +++ b/src/app.ts @@ -15,7 +15,6 @@ function App({ children }: PropsWithChildren) { wechatUser.setToken(checkToken()); getMemberInfo(); } else { - console.log('yer'); loginAte(); } getLocaleData(); diff --git a/src/wechat/index.ts b/src/wechat/index.ts index 8249680..f67841e 100644 --- a/src/wechat/index.ts +++ b/src/wechat/index.ts @@ -11,8 +11,8 @@ class WechatUser { constructor() { this.userInfo = { - name: '亦可', - phone: '12345678901', + name: '', + phone: '', avatar: 'https://gw.alipayobjects.com/zos/rmsportal/BiazfanxmamNRoxxVxka.png', };