Browse Source

Merge branch 'master' of http://git.cc-lotus.info/ball-court/court-badminton

zs 2 years ago
parent
commit
2d8fa64c8e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      pages/usermyteam/add.js

+ 2 - 2
pages/usermyteam/add.js

@@ -99,7 +99,7 @@ Page({
                     info.match_id = that.data.form.match_id;
                     info.grouping_id = that.data.form.grouping_id;
                     info.project_id = that.data.form.project_id;
-                    const team = await app.$get(`/newCourt/api/enroll/findTeamMeta`, { ...info });
+                    const team = await app.$get(`/newCourt/api/enroll/findTeammate`, { ...info });
                     if (team.errcode == '0') {
                         that.setData({ teammateList: team.data })
                     } else {
@@ -111,7 +111,7 @@ Page({
                     info.grouping_id = that.data.form.grouping_id;
                     info.project_id = that.data.form.project_id;
                     info.openid = that.data.userinfo.openid;
-                    const team = await app.$get(`/newCourt/api/enroll/findTeamMeta`, { ...info });
+                    const team = await app.$get(`/newCourt/api/enroll/findTeammate`, { ...info });
                     if (team.errcode == '0') {
                         for (const val of team.data) {
                             val.card = val.card.substr(0, 4) + "*".repeat(val.card.length - 8) + val.card.substr(-4);