|
@@ -51,7 +51,7 @@ export default function() { |
|
@@ -51,7 +51,7 @@ export default function() { |
51
|
console.log(obj);
|
51
|
console.log(obj);
|
52
|
let { isResetPage, limit, page, totalPage, type } = obj;
|
52
|
let { isResetPage, limit, page, totalPage, type } = obj;
|
53
|
const result = await this.$api.post('/api/ufo/home/newsList', {
|
53
|
const result = await this.$api.post('/api/ufo/home/newsList', {
|
54
|
- page, type: type || '', limit, uid: 500031928,
|
54
|
+ page, type: type || '', limit,
|
55
|
});
|
55
|
});
|
56
|
|
56
|
|
57
|
if (result.code === 200) {
|
57
|
if (result.code === 200) {
|
|
@@ -67,7 +67,7 @@ export default function() { |
|
@@ -67,7 +67,7 @@ export default function() { |
67
|
}
|
67
|
}
|
68
|
},
|
68
|
},
|
69
|
async fetchNewsTabList({ commit }) {
|
69
|
async fetchNewsTabList({ commit }) {
|
70
|
- const result = await this.$api.post('/api/ufo/home/newsListTab', {uid: 500031928});
|
70
|
+ const result = await this.$api.post('/api/ufo/home/newsListTab', {});
|
71
|
if (result.code === 200) {
|
71
|
if (result.code === 200) {
|
72
|
commit(Types.FETCH_NEWS_TAB_LIST, {list: result.data});
|
72
|
commit(Types.FETCH_NEWS_TAB_LIST, {list: result.data});
|
73
|
return result;
|
73
|
return result;
|