Commit 23c49632 authored by wildfirecode13's avatar wildfirecode13

1

parent 6eadec33
......@@ -6,7 +6,7 @@ cloud.init({
});
App({
requestType: 'yapi', // ams:ams接口,cloud: 云函数
requestType: 'cloud', // yapi,cloud: 云函数
cloudName: 'floor', // 主云函数项目名 base clientTemplate2C
cloud,
tbcc,
......
......@@ -84,7 +84,8 @@ const request = ({ cloud, cloudName, requestType = 'cloud' }) => {
const requestCloud = () => {
return new Promise((resolve, reject) => {
cloud.function.invoke(_cloudName, params, handle).then(res => {
console.log('requestCloud', handle, params, res);
console.log('request Cloud callback=>', handle, res);
// console.log('requestCloud', handle, params, res);
hideMyLoading();
if (res && res.success) {
resolve(res);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment