代收款,第二天用红包结算给商家,有问题么?
如果我做一个订餐小程序,从用户那里收款,发红包给商户,这样就不用签约啥的复杂了,是否可行?这么做的话有什么风险么?还是禁止?为啥我看服务市场里面的都是签约的?
2021-12-02: errCode: -404011 cloud function execution error | errMsg: cloud.callFunction:fail requestID 3a2938c5-297a-11ec-8c17-ee7d125a6563, cloud function service error code -504002, error message ReferenceError: cloud is not defined
昨天云函数没有问题,今天都不能用了?{"errorCode":1,"errorMessage":"user code exception caught","stackTrace":"ReferenceError: cloud is not defined\n at Runtime.exports.main [as handler] (/var/user/index.js:16:15)\n at Runtime.handleOnce (/var/runtime/node12/Runtime.engine.js:219:23)\n at Timeout._onTimeout (/var/runtime/node12/Runtime.engine.js:56:12)\n at listOnTimeout (internal/timers.js:549:17)\n at processTimers (internal/timers.js:492:7)","statusCode":430}
2021-10-10基本上一样的代码,支付宝小程序能使用。。。
wss和udp,在模拟中可以运行,真机realme x50pro玩家版不能用{"locationEnabled":true,"screenWidth":360,"benchmarkLevel":35,"screenHeight":800,"windowHeight":720,"bluetoothEnabled":false,"language":"zh_CN","microphoneAuthorized":true,"version":"7.0.20","cameraAuthorized":true,"system":"Android 10","fontSizeSetting":16,"locationAuthorized":true,"pixelRatio":3,"notificationAuthorized":false,"model":"RMX2072","statusBarHeight":38,"deviceOrientation":"portrait","wifiEnabled":true,"safeArea":{"width":360,"right":360,"top":36,"left":0,"bottom":800,"height":764},"brand":"realme","windowWidth":360,"screenTop":81,"platform":"android","SDKVersion":"2.14.0","devicePixelRatio":3} index.js:54 可以使用createUDPSocket index.js:34 WebSocket连接打开失败,请检查!
2020-11-26