[feat] Update route format

This commit is contained in:
JasonWu
2021-09-01 15:20:53 +08:00
parent b1e9c5e62a
commit 9174b540fd
11 changed files with 152 additions and 76 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ controller.verifyCode = () => async ctx => {
// generate jwt token
const jwtToken = jwt.sign(
{
user_id: `${token}-id`,
user_id: token.user_id,
sso: true,
},
config.server.jwt_secret,