feat: 🎨 新增专题功能

This commit is contained in:
学习很差啦
2022-10-11 17:36:40 +08:00
parent 34448b8a23
commit fc8123c194
4 changed files with 470 additions and 112 deletions

View File

@@ -1,6 +1,21 @@
import { http, Method } from "@/utils/request.js";
export function toSpecial(data) {
return http.request({
url: `/other/pageData/getSpecial`,
method: Method.GET,
data
});
}
/**
* 专题内容
*/
export function getSpecial(id) {
return http.request({
url: `/other/pageData/get/${id}`,
method: Method.GET,
});
}
/**
* 获取广告图