纸通宝小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

32 lines
659 B

// pages/withdrawal/detail/index.js
const request = require('../../../utils/request'); //导入模块
Page({
/**
* 页面的初始数据
*/
data: {
orderDetails: {}
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
wx.showLoading({
title: '加载中',
mask: true
})
// /message/h5/message_list 消息列表
request.get('/saas-user/account/withdraw/' + options.id).then(result => {
//成功回调
this.setData({
orderDetails: result.data
})
wx.hideLoading()
}).catch(err => {
wx.hideLoading()
util.showToast(err)
})
}
})