feat: 配置审核页展示已审批历史版本,支持点击对比
This commit is contained in:
@@ -39,6 +39,7 @@ export default {
|
||||
configs: {
|
||||
list: () => api.get('/configs'),
|
||||
pending: () => api.get('/configs/pending'),
|
||||
bySite: (siteId) => api.get(`/configs/${siteId}`),
|
||||
download: (siteId, version) => api.get(`/configs/${siteId}/${version}`),
|
||||
approve: (id, comment) => api.post(`/admin/reviews/${id}/approve`, null, { params: { comment } }),
|
||||
reject: (id, comment) => api.post(`/admin/reviews/${id}/reject`, null, { params: { comment } })
|
||||
|
||||
Reference in New Issue
Block a user