You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
603 B
35 lines
603 B
import request from '@/utils/request' |
|
|
|
export function captcha(datas) { |
|
return request({ |
|
url: '/api/captcha', |
|
method: 'post', |
|
data: datas |
|
}) |
|
} |
|
|
|
export function login(datas) { |
|
return request({ |
|
url: '/api/login', |
|
method: 'post', |
|
data: datas |
|
}) |
|
} |
|
|
|
// 获取目录和文件数据 |
|
export function mirlist(datas) { |
|
return request({ |
|
url: '/api/ls', |
|
method: 'post', |
|
data: datas |
|
}) |
|
} |
|
|
|
// 创建目录 |
|
export function mkdir(datas) { |
|
return request({ |
|
url: '/api/mkdir', |
|
method: 'post', |
|
data: datas |
|
}) |
|
} |