|
@@ -52,7 +52,7 @@ Page({
|
|
|
success: async (res) => {
|
|
|
let info = {};
|
|
|
if (searchInfo && searchInfo.name) info.teammate_name = searchInfo.name;
|
|
|
- const arr = await app.$get(`/newCourt/api/teamApply`, { ...info });
|
|
|
+ const arr = await app.$get(`/newCourt/api/teamApply`, { openid: res.data.openid, ...info });
|
|
|
if (arr.errcode == '0') {
|
|
|
that.setData({ list: arr.data })
|
|
|
} else { wx.showToast({ title: `${res.errMsg}`, icon: 'fail', duration: 2000 }); }
|