parent
6e796a3dc5
commit
95d12a01bb
8 changed files with 47 additions and 1 deletions
@ -0,0 +1,26 @@ |
||||
Page({ |
||||
data: { |
||||
|
||||
}, |
||||
|
||||
onShow: function() { |
||||
}, |
||||
|
||||
onLoad: function() { |
||||
this.getCoupon() |
||||
}, |
||||
|
||||
getCoupon: function() { |
||||
wx.request({ |
||||
url: `${getApp().globalData.API_URL}/coupons`, |
||||
data: {}, |
||||
method: 'GET', |
||||
success: function(res){ |
||||
}, |
||||
fail: function() { |
||||
}, |
||||
complete: function() { |
||||
} |
||||
}) |
||||
} |
||||
}) |
@ -0,0 +1,3 @@ |
||||
{ |
||||
"navigationBarTitleText": "我的优惠券" |
||||
} |
Loading…
Reference in new issue