Authored by Tao

delete uid

@@ -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;
@@ -100,17 +100,15 @@ module.exports = { @@ -100,17 +100,15 @@ module.exports = {
100 ufo: true, 100 ufo: true,
101 api: 'ufo.users.listInboxs', 101 api: 'ufo.users.listInboxs',
102 params: { 102 params: {
103 - uid: {type: Number} 103 + // uid: {type: Number}
104 }, 104 },
105 - // auth: true, 105 + auth: true,
106 }, 106 },
107 '/api/ufo/home/newsListTab': { 107 '/api/ufo/home/newsListTab': {
108 ufo: true, 108 ufo: true,
109 api: 'ufo.users.listInboxTypeInfo', 109 api: 'ufo.users.listInboxTypeInfo',
110 - params: {  
111 - uid: {type: Number}  
112 - },  
113 - // auth: true, 110 + params: {},
  111 + auth: true,
114 }, 112 },
115 '/api/ufo/coupon/list': { 113 '/api/ufo/coupon/list': {
116 ufo: true, 114 ufo: true,