提交 73730d7d authored 作者: 王天霸's avatar 王天霸

1

上级 cf23081d
...@@ -460,7 +460,7 @@ ...@@ -460,7 +460,7 @@
recordNum: "", recordNum: "",
topLogo: "", topLogo: "",
}, },
channel_id: 0, channel_id: this.$store.state.settings.channelId,
isScroll: false, isScroll: false,
isAdHover: false, isAdHover: false,
isHasBorder: false, isHasBorder: false,
...@@ -656,7 +656,7 @@ ...@@ -656,7 +656,7 @@
} }
indexInfo(data).then(res => { indexInfo(data).then(res => {
if (res.code == 1) { if (res.code == 1) {
this.channel_id = res.data.channel_id this.channel_id = this.$store.state.settings.channelId
this.keyTitle = res.data.title; this.keyTitle = res.data.title;
this.keyWords = res.data.keywords; this.keyWords = res.data.keywords;
this.keyDescriptions = res.data.describe; this.keyDescriptions = res.data.describe;
...@@ -669,7 +669,7 @@ ...@@ -669,7 +669,7 @@
/** 获取通用设置 */ /** 获取通用设置 */
getWebSite() { getWebSite() {
let params = { let params = {
channel_ids: this.channel_id channel_ids: this.$store.state.settings.channelId
} }
webSite(params).then(res => { webSite(params).then(res => {
if (res.code == 1) { if (res.code == 1) {
...@@ -682,7 +682,7 @@ ...@@ -682,7 +682,7 @@
/** 获取所有域名 */ /** 获取所有域名 */
getDomain() { getDomain() {
let data = { let data = {
channel_ids: this.channel_id channel_ids: this.$store.state.settings.channelId
} }
getdomain(data).then(res => { getdomain(data).then(res => {
if (res.code == 1 && res.data) { if (res.code == 1 && res.data) {
...@@ -696,7 +696,7 @@ ...@@ -696,7 +696,7 @@
/** 获取 云仓 banner图信息、核心优势、入驻logo图片集 */ /** 获取 云仓 banner图信息、核心优势、入驻logo图片集 */
getAllcloud() { getAllcloud() {
let data = { let data = {
new_channel_id: this.channel_id new_channel_id: this.$store.state.settings.channelId
} }
getallCloudList(data).then(res => { getallCloudList(data).then(res => {
if (res.code == 1 && res.data) { if (res.code == 1 && res.data) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论