Files

12 lines
287 B
JavaScript
Raw Permalink Normal View History

2026-06-05 14:06:20 +08:00
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
})
}