You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
850 B
38 lines
850 B
8 months ago
|
import request from '@/sheep/request';
|
||
|
|
||
|
export default {
|
||
|
companyList: () =>
|
||
|
request({
|
||
|
url: '/api/company/list',
|
||
|
method: 'GET',
|
||
|
custom: {
|
||
|
showLoading: false,
|
||
|
auth: false,
|
||
|
},
|
||
|
}),
|
||
|
articleList: (type) =>
|
||
|
request({
|
||
|
url: '/api/article/list',
|
||
|
method: 'GET',
|
||
|
params: {
|
||
|
type,
|
||
|
},
|
||
|
custom: {
|
||
|
showLoading: false,
|
||
|
auth: false,
|
||
|
},
|
||
|
}),
|
||
|
articleDetail: (id) =>
|
||
|
request({
|
||
|
url: '/api/article/detail',
|
||
|
method: 'GET',
|
||
|
params: {
|
||
|
id: id,
|
||
|
},
|
||
|
custom: {
|
||
|
showLoading: false,
|
||
|
auth: false,
|
||
|
},
|
||
|
}),
|
||
|
};
|