Skip to content

Commit

Permalink
fix(system-server): little fixes;
Browse files Browse the repository at this point in the history
  • Loading branch information
maslow committed Sep 4, 2021
1 parent 348ca7e commit be71012
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/system-server/http/account.http
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ Content-Type: application/json
"password": "{{passwd}}"
}

### 管理员信息
### 获取账户信息

GET {{base_url}}/account/profile
Authorization: Bearer {{token}}


### 编辑管理员
### 编辑账户

POST {{base_url}}/account/edit HTTP/1.1
Content-Type: application/json
Expand Down
4 changes: 2 additions & 2 deletions packages/system-server/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* @Author: Maslow<wangfugen@126.com>
* @Date: 2021-07-30 10:30:29
* @LastEditTime: 2021-09-03 19:14:10
* @LastEditTime: 2021-09-04 15:43:41
* @Description:
*/

Expand Down Expand Up @@ -46,5 +46,5 @@ server.listen(Config.PORT, () => logger.info(`listened on ${Config.PORT}`))


process.on('uncaughtException', function (err) {
logger.error(err.stack)
logger.error(err)
})

0 comments on commit be71012

Please sign in to comment.