添加登录页面
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
/**
|
||||
* 认证相关 API
|
||||
*/
|
||||
const authApi = {
|
||||
/** 登录 */
|
||||
login(username, password) {
|
||||
return request.post('/public/login', { username, password });
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user