js.HelloController.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 hello() {
return request({
url: '/hello/helloGet',
method: 'get',
});
}
export function helloNotRestful(id, name) {
return request({
url: '/hello/helloNotRestful',
method: 'get',
param: {
id: id,
name: name,
}
});
}
export function helloPost(body) {
return request({
url: '/hello/helloPost',
method: 'post',
data: {
body: body,
}
});
}
export function helloGetById(id) {
return request({
url: '/hello/helloGet/'+id,
method: 'get',
});
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy