Commit 74274943 authored by xulili's avatar xulili

修改趋势接口

parent 16ca169f
...@@ -121,16 +121,17 @@ export default { ...@@ -121,16 +121,17 @@ export default {
let httpUrl = ""; let httpUrl = "";
let _this = this; let _this = this;
if (type === "interact") { if (type === "interact") {
httpUrl = // httpUrl = "tBoardStatistic/getInteractionFrequencyPageList?frequencyDate=";
"tBoardStatistic/getInteractionFrequencyPageList?frequencyDate="; httpUrl = `tBoardStatistic/getInteractionFrequencyPageList?frequencyDate=${frequencyDate}`
} }
if (type === "trend") { if (type === "trend") {
httpUrl = "tBoardStatistic/getBoardTrendPageList?playDate="; // httpUrl = "tBoardStatistic/getBoardTrendPageList?playDate=";
httpUrl = `tBoardStatistic/getBoardPageList?beginDate=${frequencyDate}&endDate=${frequencyDate}`
} }
_this _this
.$https({ .$https({
method: "post", method: "post",
url: `${httpUrl}${frequencyDate}`, url: `${httpUrl}`,
}) })
.then((res) => { .then((res) => {
if (res.status == 200) { if (res.status == 200) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment