mirror of
https://github.com/r-ca/kidshift-skills.git
synced 2024-10-25 17:14:03 +00:00
service修正
This commit is contained in:
parent
83032f8ae0
commit
982e92e693
|
@ -1,9 +1,13 @@
|
|||
import api from '../api'
|
||||
|
||||
class MetaService {
|
||||
async getMeta() {
|
||||
return await api.get<any>('/meta');
|
||||
}
|
||||
async getMeta() {
|
||||
return await api.get<any>('/meta');
|
||||
}
|
||||
|
||||
async getPing() {
|
||||
return await api.get<any>('/meta/ping');
|
||||
}
|
||||
}
|
||||
|
||||
export default new MetaService();
|
||||
|
|
Loading…
Reference in New Issue
Block a user