xiongzhu 5 years ago
parent
commit
0568ca39cf
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/mobile/src/views/home.vue

+ 2 - 2
src/main/mobile/src/views/home.vue

@@ -75,7 +75,7 @@ export default {
         };
     },
     created() {
-        this.$http.post('/banner/all', { size: 1000 }, { body: 'json' }).then(res => {
+        this.$http.post('/banner/all', { size: 1000, query: { del: false } }, { body: 'json' }).then(res => {
             this.banners = res.content;
         });
         this.$http.get('/article/get/name/首页介绍-上').then(res => {
@@ -84,7 +84,7 @@ export default {
         this.$http.get('/article/get/name/首页介绍-下').then(res => {
             this.content2 = res.content;
         });
-        this.$http.post('/article/all', { query: { type: 'INTRO' } }, { body: 'json' }).then(res => {
+        this.$http.post('/article/all', { query: { del: false, type: 'INTRO' } }, { body: 'json' }).then(res => {
             this.more = res.content;
         });
         this.$http.get('/article/get/name/商务对接').then(res => {