AI-accounting-soft-uniApp/api/auth.js
2025-12-12 16:49:06 +08:00

21 lines
223 B
JavaScript

import { post } from '../utils/request'
// 用户注册
export function register(data) {
return post('/auth/register', data)
}
// 用户登录
export function login(data) {
return post('/auth/login', data)
}