Commit 34963d01 by 高淑倩

kpi

parent 397fe907
...@@ -41,19 +41,17 @@ wxService.page({ ...@@ -41,19 +41,17 @@ wxService.page({
const query = { const query = {
type: current, type: current,
brandId: app.globalData.brandId, brandId: app.globalData.brandId,
pageSize, // pageSize,
pageNo, // pageNo,
} }
wxService.post(`/marketing/shoppingguide/task/page`,query).then(res => { wxService.post(`/marketing/shoppingguide/task/page?pageSize=${pageSize}&pageNo=${pageNo}`,query).then(res => {
if (res) { if (res) {
const { result, data } = res.data const { result, data } = res.data
if (result == 0) { if (result == 0) {
wx.hideLoading() wx.hideLoading()
// pageNo == 1? [...data.content]: [...this.data.couponList,...data.content], this.setData({
list: pageNo == 1? [...data.content]: [...this.data.list,...data.content],
// this.setData({ })
// cartList:
// })
} }
} }
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment