123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- import httpRequestApi from '../../../utils/APIClient';
- Page({
-
- data: {
- },
-
- gradeDetails: function () {
- wx.navigateTo({
- url: '/pages/groupPage/grade-details/grade-details'
- })
-
-
-
-
- },
-
- collage: function () {
- wx.navigateTo({
- url: '/pages/groupPage/collage-details/collage-details'
- })
- wx.setNavigationBarTitle({
- title: '拼团详情'
- })
-
- },
-
- onLoad: function (options) {
- httpRequestApi.getGroupPurchaseInfo(1).success( (res) =>{
- console.log(res);
- }).fail( (error) => {
- })
- httpRequestApi.SendGroupPurchas({
- "productId": "1",
- "groupId": "1"
- }).success( (res) =>{
- }).fail( (error) => {
-
- })
- httpRequestApi.JoinGroupPurchas('1541386476732288').success( (res) =>{
- }).fail( (error) => {
-
- })
-
- },
-
- onReady: function () {
- },
-
- onShow: function () {
- },
-
- onHide: function () {
- },
-
- onUnload: function () {
- },
-
- onPullDownRefresh: function () {
- },
-
- onReachBottom: function () {
- },
-
- onShareAppMessage: function () {
- }
- })
|