zs %!s(int64=3) %!d(string=hai) anos
pai
achega
265fc48dcf
Modificáronse 2 ficheiros con 0 adicións e 24 borrados
  1. 0 12
      pages/administration/index.js
  2. 0 12
      pages/home/index.js

+ 0 - 12
pages/administration/index.js

@@ -87,18 +87,6 @@ Page({
       }
     })
   },
-  searchschedule: function (e) {
-    wx.request({
-      url: `${app.globalData.publicUrl}/courtAdmin/api/schedule`,
-      method: 'get',
-      data: { match_id: e._id },
-      success(res) {
-        if (res.data.errcode == 0) { } else {
-          wx.showToast({ title: res.errmsg, icon: 'none', duration: 2000 })
-        }
-      }
-    })
-  },
   // 计算高度
   searchHeight: function () {
     let frameStyle = this.data.frameStyle;

+ 0 - 12
pages/home/index.js

@@ -65,18 +65,6 @@ Page({
       }
     })
   },
-  searchschedule: function (e) {
-    wx.request({
-      url: `${app.globalData.publicUrl}/courtAdmin/api/schedule`,
-      method: 'get',
-      data: { match_id: e._id },
-      success(res) {
-        if (res.data.errcode == 0) { } else {
-          wx.showToast({ title: res.errmsg, icon: 'none', duration: 2000 })
-        }
-      }
-    })
-  },
   /**
    * 生命周期函数--监听页面初次渲染完成
    */