zs 2 years ago
parent
commit
95aa4462db
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pages/usermyteam/index.js

+ 1 - 1
pages/usermyteam/index.js

@@ -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 }); }