guhongwei před 2 roky
rodič
revize
b2ade6168b

+ 1 - 1
pages/home/index.js

@@ -45,7 +45,7 @@ Page({
             key: 'user',
             success: async (res) => {
                 that.setData({ user: res.data })
-                let info = {};
+                let info = { skip: 0, limit: 1000 };
                 if (searchInfo && searchInfo.name) info.name = searchInfo.name;
                 const arr = await app.$get(`/newCourt/api/match`, { ...info });
                 if (arr.errcode == '0') {

+ 1 - 1
pages/match/address.js

@@ -63,7 +63,7 @@ Page({
         wx.getStorage({
             key: 'user',
             success: async (res) => {
-                let info = {};
+                let info = { skip: 0, limit: 1000 };
                 if (searchInfo && searchInfo.name) info.name = searchInfo.name;
                 const arr = await app.$get(`/newCourt/api/ground`, { ...info });
                 if (arr.errcode == '0') {

+ 1 - 1
pages/match/addressAdd.js

@@ -77,7 +77,7 @@ Page({
         wx.getStorage({
             key: 'user',
             success: async res => {
-                const arr = await app.$get(`/newCourt/api/user`, { type: 1 });
+                const arr = await app.$get(`/newCourt/api/user`, { type: 1, skip: 0, limit: 1000 });
                 if (arr.errcode == '0') { that.setData({ referee_idList: arr.data }); }
                 if (that.data.id) {
                     const arr = await app.$get(`/newCourt/api/ground/${that.data.id}`);

+ 1 - 1
pages/match/matchgroup.js

@@ -100,7 +100,7 @@ Page({
                     if (arr.errcode == '0') {
                         that.setData({ info: arr.data })
                     } else { wx.showToast({ title: `${res.errMsg}`, icon: 'fail', duration: 2000 }); }
-                    arr = await app.$get(`/newCourt/api/matchProject`);
+                    arr = await app.$get(`/newCourt/api/matchProject`, { skip: 0, limit: 1000 });
                     if (arr.errcode == '0') that.setData({ projectList: arr.data })
                 }
             },

+ 1 - 1
pages/match/mess.js

@@ -106,7 +106,7 @@ Page({
         wx.getStorage({
             key: 'user',
             success: async (res) => {
-                let info = {};
+                let info = { skip: 0, limit: 1000 };
                 if (searchInfo && searchInfo.name) info.name = searchInfo.name;
                 const arr = await app.$get(`/newCourt/api/match`, { ...info });
                 if (arr.errcode == '0') {

+ 1 - 1
pages/match/project.js

@@ -65,7 +65,7 @@ Page({
         wx.getStorage({
             key: 'user',
             success: async res => {
-                let info = {};
+                let info = { skip: 0, limit: 1000 };
                 if (searchInfo && searchInfo.name) info.name = searchInfo.name;
                 const arr = await app.$get(`/newCourt/api/matchProject/`, { ...info });
                 if (arr.errcode == '0') {

+ 1 - 1
pages/match/shteam.js

@@ -86,7 +86,7 @@ Page({
         wx.getStorage({
             key: 'user',
             success: async res => {
-                let info = {};
+                let info = { skip: 0, limit: 1000 };
                 const arr = await app.$get(`/newCourt/api/teamApply`, { ...info });
                 if (arr.errcode == '0') {
                     for (const val of arr.data) {

+ 1 - 1
pages/match/sign.js

@@ -156,7 +156,7 @@ Page({
         wx.getStorage({
             key: 'user',
             success: async res => {
-                const arr = await app.$get(`/newCourt/api/enroll/`);
+                const arr = await app.$get(`/newCourt/api/enroll`, { skip: 0, limit: 1000 });
                 if (arr.errcode == '0') {
                     for (const val of arr.data) {
                         // 用户信息

+ 1 - 1
pages/order/index.js

@@ -71,7 +71,7 @@ Page({
         wx.getStorage({
             key: 'user',
             success: async res => {
-                const arr = await app.$get(`/newCourt/api/payOrder`);
+                const arr = await app.$get(`/newCourt/api/payOrder`, { skip: 0, limit: 1000 });
                 if (arr.errcode == '0') {
                     let list = arr.data;
                     for (const val of list) {

+ 1 - 1
pages/user/index.js

@@ -51,7 +51,7 @@ Page({
         wx.getStorage({
             key: 'user',
             success: async res => {
-                let info = {};
+                let info = { skip: 0, limit: 1000 };
                 if (searchInfo && searchInfo.name) info.name = searchInfo.name;
                 const arr = await app.$get(`/newCourt/api/user/`, { ...info });
                 if (arr.errcode == '0') { that.setData({ list: arr.data }) }

+ 1 - 1
pages/usermyorder/index.js

@@ -71,7 +71,7 @@ Page({
         wx.getStorage({
             key: 'user',
             success: async res => {
-                const arr = await app.$get(`/newCourt/api/payOrder`, { openid: res.data.openid })
+                const arr = await app.$get(`/newCourt/api/payOrder`, { openid: res.data.openid, skip: 0, limit: 1000 })
                 if (arr.errcode == '0') {
                     let list = arr.data;
                     list = list.map(i => ({ ...i, statusZh: that.getStatusZh(i.status) }))

+ 1 - 1
pages/usermysign/index.js

@@ -105,7 +105,7 @@ Page({
         wx.getStorage({
             key: 'user',
             success: async res => {
-                let info = {};
+                let info = { skip: 0, limit: 1000 };
                 if (searchInfo && searchInfo.name) info.match_name = searchInfo.name;
                 const arr = await app.$get(`/newCourt/api/view/myMatchList/`, { openid: res.data.openid, ...info });
                 if (arr.errcode == '0') {

+ 1 - 1
pages/usermyteam/index.js

@@ -50,7 +50,7 @@ Page({
         wx.getStorage({
             key: 'user',
             success: async (res) => {
-                let info = {};
+                let info = { skip: 0, limit: 1000 };
                 if (searchInfo && searchInfo.name) info.teammate_name = searchInfo.name;
                 const arr = await app.$get(`/newCourt/api/teamApply`, { openid: res.data.openid, ...info });
                 if (arr.errcode == '0') {