8 Commits

Author SHA1 Message Date
CounterFire2023
b6d58c4f5b 重构代码, 优化登录逻辑, 增加帐号绑定流程 2023-09-06 15:47:14 +08:00
CounterFire2023
15bb27eefa 增加通用的登录接口 2023-08-23 19:07:08 +08:00
CounterFire2023
099f1a8135 增加client登录模式,增加登录日志 2023-08-17 15:58:36 +08:00
CounterFire2023
a021e4431c 修改token生成方法,加入version 2023-08-10 13:43:27 +08:00
zhl
0ff052e527 统一jwt的生成 2023-05-09 11:03:44 +08:00
zhl
6e9fe44134 增加tiktok的webhook接口 2023-04-04 11:33:33 +08:00
zhl
26a27a837c refactor: Refactor role authorization to use constant in controllers
- Add `ROLE_ANON` constant for authorization to be used in multiple controllers
- Replace string constants with `process.env` variables for easier configuration
- Use `insertOrUpdate` method from `Account` module for user account creation and updates
- Remove unnecessary semicolons for improved code readability
- Add error handling to `checkFacebookJwt` function for missing or invalid data from Facebook API
2023-03-24 16:02:13 +08:00
cebgcontract
bf0e6c865a 增加tiktok登陆 2022-12-08 16:43:58 +08:00