项目初始化
This commit is contained in:
12
sheep/api/promotion/article.js
Normal file
12
sheep/api/promotion/article.js
Normal file
@@ -0,0 +1,12 @@
|
||||
import request from '@/sheep/request';
|
||||
|
||||
export default {
|
||||
// 获得文章详情
|
||||
getArticle: (id, title) => {
|
||||
return request({
|
||||
url: '/promotion/article/get',
|
||||
method: 'GET',
|
||||
params: { id, title }
|
||||
});
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user