mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-23 03:17:23 +08:00
tag and installer&updater use english
This commit is contained in:
Vendored
+15
@@ -157,6 +157,21 @@ const api = {
|
||||
storeUserMedal: (params) => {
|
||||
return axios.post('user-medals', params);
|
||||
},
|
||||
listTag: (params = {}) => {
|
||||
return axios.get('tags', {params: params});
|
||||
},
|
||||
storeTag: (params = {}) => {
|
||||
return axios.post('tags', params);
|
||||
},
|
||||
updateTag: (id, params = {}) => {
|
||||
return axios.put('tags/' + id, params);
|
||||
},
|
||||
getTag: (id) => {
|
||||
return axios.get('tags/' + id);
|
||||
},
|
||||
deleteTag: (id) => {
|
||||
return axios.delete('tags/' + id);
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
|
||||
Vendored
+2
@@ -51,4 +51,6 @@ export const pathMap = {
|
||||
'setting': "Setting",
|
||||
'medal': 'Medal',
|
||||
'medal-form': 'Medal form',
|
||||
'tag': 'Tag',
|
||||
'tag-form': 'Tag form'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user