[feat] Update route format
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user