微信小程序调取api

//举例轮播图 //1.wxml页面 //2.js页面 const app = getApp() data: { banner:[], imgUrl: app.imgURL, }, const _this=this; { //轮播图 console.log(‘开始请求轮播图’,new Date()); wx.request({ url: app.baseURL + ‘/wx/product/all
相关文章
相关标签/搜索