后端完成jwt登录接口

This commit is contained in:
2024-08-31 22:52:31 +08:00
parent 9b0cdf18f5
commit 1cd705665e
6 changed files with 150 additions and 5 deletions

View File

@@ -13,8 +13,10 @@ const config = {
password: ''
// password: 'jhkdjhkjdhsIUTYURTU_f7EJZJ'
},
authToken: '17e50223f4a545ec9e36ebf08e2f71bb',
adminToken: '3a6f71412f9e48b9bbbd056aa7eb5467',
jwt: {
secret: '17e50223f4a545ec9e36ebf08e2f71bb',
expiresIn: '1d',
},
apiPort: 23500,
} as const;