flat: 对接爱山东登录
This commit is contained in:
@@ -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
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user