9 lines
178 B
JavaScript
9 lines
178 B
JavaScript
export default ($axios) => ({
|
|
getToolCommentList(params) {
|
|
return $axios.get('/comment', { params })
|
|
},
|
|
addToolComment(data) {
|
|
return $axios.post('/comment', data)
|
|
},
|
|
})
|