8 lines
160 B
JavaScript
8 lines
160 B
JavaScript
const common = require('./common')
|
|
|
|
exports.getArticle = function(id) {
|
|
return common.sendRequest({
|
|
method: 'GET',
|
|
url: '/api/articles/' + id,
|
|
})
|
|
}
|