Commit 153c6283 authored by wildfirecode's avatar wildfirecode

1

parent 60c1f102
......@@ -6,6 +6,7 @@ cloud.init({
App({
cloud,
cloudName: "filaStar", //待修改
cloudName2:"filaStar",
onLaunch(options) {
// 第一次打开
// options.query == {number:1}///"enableSkia": "true"
......
......@@ -229,9 +229,11 @@ Page({
this.postMessage(netName, data)
} else {
//获取后端接口
const { function: fc } = app.cloud
const { function: fc } = app.cloud;
const [myCloudName,handler] = netName.split(".");
fc.invoke(app.cloudName, parameter, netName.split(".")[1])
fc.invoke(myCloudName, parameter, handler)
// fc.invoke(app.cloudName, parameter, netName.split(".")[1])
.then(res => {
// console.log("返回数据" + JSON.stringify(res));
//发送消息
......
This diff is collapsed.
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