|
|
@@ -338,20 +338,20 @@ |
|
|
|
} |
|
|
|
}) |
|
|
|
|
|
|
|
//调用方式 |
|
|
|
request('eeb51c66bcda48dc9dbb5997323a11ed', {}).then((res) => { |
|
|
|
console.log("====", stringToJson(res.bizContent)); |
|
|
|
wx.requestSubscribeMessage({ |
|
|
|
tmplIds: [''], |
|
|
|
success: function(res){ |
|
|
|
console.log('输出内容========',res) |
|
|
|
}, |
|
|
|
fail: function(res){ |
|
|
|
console.log('内容========',res) |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
.catch((err) => {}); |
|
|
|
// //调用方式 |
|
|
|
// request('eeb51c66bcda48dc9dbb5997323a11ed', {}).then((res) => { |
|
|
|
// console.log("====", stringToJson(res.bizContent)); |
|
|
|
// wx.requestSubscribeMessage({ |
|
|
|
// tmplIds: [''], |
|
|
|
// success: function(res){ |
|
|
|
// console.log('输出内容========',res) |
|
|
|
// }, |
|
|
|
// fail: function(res){ |
|
|
|
// console.log('内容========',res) |
|
|
|
// } |
|
|
|
// }) |
|
|
|
// }) |
|
|
|
// .catch((err) => {}); |
|
|
|
|
|
|
|
|
|
|
|
getInfo() |
|
|
@@ -411,14 +411,14 @@ |
|
|
|
}; |
|
|
|
|
|
|
|
//调用方式 |
|
|
|
request(querySwiper, options).then((res) => { |
|
|
|
console.log(stringToJson(res.bizContent)); |
|
|
|
const data = stringToJson(res.bizContent) |
|
|
|
state.swiperList = data.swipers ?? [] |
|
|
|
}) |
|
|
|
.catch((err) => { |
|
|
|
console.log(err); |
|
|
|
}); |
|
|
|
// request(querySwiper, options).then((res) => { |
|
|
|
// console.log(stringToJson(res.bizContent)); |
|
|
|
// const data = stringToJson(res.bizContent) |
|
|
|
// state.swiperList = data.swipers ?? [] |
|
|
|
// }) |
|
|
|
// .catch((err) => { |
|
|
|
// console.log(err); |
|
|
|
// }); |
|
|
|
|
|
|
|
}; |
|
|
|
|