wuliu_sy/api/pubic.js

18 lines
330 B
JavaScript
Raw Normal View History

2023-11-18 10:47:46 +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
});
}