11、小程序模块 (1)轮播图实现 封装对后台的统一访问方法 request/index.js //同时发送异步请求的次数 let ajaxTimes = 0; export const request = (params) => { ajaxTimes ++; wx.showLoading