remove newcomment api

main
Dawn1Ocean 2024-03-20 21:21:23 +08:00
parent aff74acc1f
commit 1f0d4881f3
3 changed files with 2 additions and 14 deletions

View File

@ -180,17 +180,6 @@ data (same as oreo):
## 工单详情 ## 工单详情
### 创建评论 `POST /tickets/newcomment?id={id}`
Request
```json
{
"content": "这是一条评论",
"token": "token_test"
}
```
### 创建工单 `POST /tickets/create` ### 创建工单 `POST /tickets/create`
Request Request

View File

@ -15,7 +15,6 @@ function App({ children }: PropsWithChildren<any>) {
wechatUser.setToken(checkToken()); wechatUser.setToken(checkToken());
getMemberInfo(); getMemberInfo();
} else { } else {
console.log('yer');
loginAte(); loginAte();
} }
getLocaleData(); getLocaleData();

View File

@ -11,8 +11,8 @@ class WechatUser {
constructor() { constructor() {
this.userInfo = { this.userInfo = {
name: '亦可', name: '',
phone: '12345678901', phone: '',
avatar: avatar:
'https://gw.alipayobjects.com/zos/rmsportal/BiazfanxmamNRoxxVxka.png', 'https://gw.alipayobjects.com/zos/rmsportal/BiazfanxmamNRoxxVxka.png',
}; };