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.
19 lines
275 B
19 lines
275 B
import request from '../utils/request';
|
|
|
|
export function getHotTabs() {
|
|
return request({
|
|
url: '/hot/tabs'
|
|
});
|
|
}
|
|
|
|
/**
|
|
* 热搜文章列表
|
|
*/
|
|
export function getHotListFromTabType(type) {
|
|
return request({
|
|
url: '/hot/list',
|
|
data: {
|
|
type
|
|
}
|
|
});
|
|
}
|