OA/api/pubic.js

18 lines
330 B
JavaScript
Raw Normal View History

2023-11-05 00:08:34 +08:00
import request from '@/utils/request.js'
export function commonAuth(data) {
return request.post(
"auth", data, {
noAuth: true
}
);
}
/**
* 小程序用户登录
* @param data object 小程序用户登陆信息
*/
export function login(data) {
return request.post("auth/mp", data, {
noAuth: true
});
}