Commit 2955a93776ad5c19a089fdce45d952f7aa742ebb
1 parent
74d7ebad
我的小店js修改
Showing
2 changed files
with
9 additions
and
7 deletions
images/banner.jpg
0 → 100644
33.7 KB
packageA/pages/distribution/shop/shop.js
... | ... | @@ -579,13 +579,15 @@ Page({ |
579 | 579 | noMore: false, |
580 | 580 | isAll: false, |
581 | 581 | }); |
582 | - app.request.promiseGet('/api/weshop/users/distribut/pagemyshop?type=2', { | |
583 | - data: data, | |
584 | - }).then(res => { | |
585 | - self.setData({ | |
586 | - list: res.data.data, | |
587 | - }); | |
588 | - }); | |
582 | + | |
583 | + this.getData(true, '/api/weshop/users/distribut/pagemyshop?type=2', data); | |
584 | + // app.request.promiseGet('/api/weshop/users/distribut/pagemyshop?type=2', { | |
585 | + // data: data, | |
586 | + // }).then(res => { | |
587 | + // self.setData({ | |
588 | + // list: res.data.data, | |
589 | + // }); | |
590 | + // }); | |
589 | 591 | }, |
590 | 592 | |
591 | 593 | ... | ... |