|
|
@@ -14,6 +14,7 @@ Page({
|
|
|
* 生命周期函数--监听页面加载
|
|
|
*/
|
|
|
onLoad: function (options) {
|
|
|
+ const q = decodeURIComponent(options.q)
|
|
|
wx.showNavigationBarLoading();
|
|
|
wx.getStorage({
|
|
|
key: 'uid',
|
|
|
@@ -22,7 +23,7 @@ Page({
|
|
|
wx.request({
|
|
|
url: host + '/api/signup/verify',
|
|
|
method: 'POST',
|
|
|
- data: { uid: res.data, sid: options.sid },
|
|
|
+ data: { uid: res.data, sid: q},
|
|
|
success: result => {
|
|
|
wx.hideLoading();
|
|
|
this.setData({
|