js.TestController.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of assistant Show documentation
Show all versions of assistant Show documentation
Back-end development assistant
import request from 'axios';
export function testGetById(id) {
return request({
url: '/test/testGet/'+id,
method: 'get',
});
}
export function testNotRestful(id, name) {
return request({
url: '/test/testNotRestful',
method: 'get',
param: {
id: id,
name: name,
}
});
}
export function testPost(body) {
return request({
url: '/test/testPost',
method: 'post',
data: {
body: body,
}
});
}
export function test() {
return request({
url: '/test/testGet',
method: 'get',
});
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy