diff --git a/packages/system-server/http/account.http b/packages/system-server/http/account.http index e1f2f3ce96..d26749e0c7 100644 --- a/packages/system-server/http/account.http +++ b/packages/system-server/http/account.http @@ -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 diff --git a/packages/system-server/src/index.ts b/packages/system-server/src/index.ts index 7d835f3395..b11cdd48e1 100644 --- a/packages/system-server/src/index.ts +++ b/packages/system-server/src/index.ts @@ -1,7 +1,7 @@ /* * @Author: Maslow * @Date: 2021-07-30 10:30:29 - * @LastEditTime: 2021-09-03 19:14:10 + * @LastEditTime: 2021-09-04 15:43:41 * @Description: */ @@ -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) }) \ No newline at end of file