Files
lgp-wx-new/api/page/auth.js
2026-06-05 14:06:20 +08:00

12 lines
287 B
JavaScript

import {get, post} from '../request';
const prefix = 'auth/'
export const loginApi = async (code, phoneCode, avatarUrl, nickName) => {
return await post(`${prefix}login`, {
code,
phone_code: phoneCode,
avatar: avatarUrl,
nick_name: nickName
})
}