Authored by Tao

delete uid

... ... @@ -51,7 +51,7 @@ export default function() {
console.log(obj);
let { isResetPage, limit, page, totalPage, type } = obj;
const result = await this.$api.post('/api/ufo/home/newsList', {
page, type: type || '', limit, uid: 500031928,
page, type: type || '', limit,
});
if (result.code === 200) {
... ... @@ -67,7 +67,7 @@ export default function() {
}
},
async fetchNewsTabList({ commit }) {
const result = await this.$api.post('/api/ufo/home/newsListTab', {uid: 500031928});
const result = await this.$api.post('/api/ufo/home/newsListTab', {});
if (result.code === 200) {
commit(Types.FETCH_NEWS_TAB_LIST, {list: result.data});
return result;
... ...
... ... @@ -100,17 +100,15 @@ module.exports = {
ufo: true,
api: 'ufo.users.listInboxs',
params: {
uid: {type: Number}
// uid: {type: Number}
},
// auth: true,
auth: true,
},
'/api/ufo/home/newsListTab': {
ufo: true,
api: 'ufo.users.listInboxTypeInfo',
params: {
uid: {type: Number}
},
// auth: true,
params: {},
auth: true,
},
'/api/ufo/coupon/list': {
ufo: true,
... ...