♻️ reconstruct the authentication mode

This commit is contained in:
2024-12-21 13:02:28 +08:00
parent 59a8b63ee7
commit 927f2d63a4
7 changed files with 32 additions and 16 deletions

View File

@@ -114,8 +114,9 @@ export const wechatOffiaccountLoginApi = (param: WechatOffiaccountLogin) => {
*/
export const generateQrCode = (clientId: string) => {
return service.Post('/api/user/wechat/offiaccount/qrcode', {
client_id: clientId
}, {
client_id: clientId
},
{
cacheFor: 60 * 60 * 24,
meta: {
ignoreToken: true,