flat: 对接爱山东登录

This commit is contained in:
Apcallover
2025-11-25 16:13:31 +08:00
parent 1ccf89b74e
commit 535cf65a33
3 changed files with 108 additions and 8 deletions

View File

@@ -36,3 +36,20 @@ export async function outLogin(options?: { [key: string]: any }) {
...(options || {}),
});
}
/** 登录接口 POST /api/login/outLogin */
export async function sancGenerateQrcode() {
return request<Record<string, any>>('/api/essc/generateQrcode', {
method: 'POST',
});
}
export async function sancAuthCheck(qrCode: string) {
return request<Record<string, any>>('/api/essc/authCheck', {
method: 'POST',
data: {
qrCode
}
});
}