云开发可以发起支付吗
[代码]const cloud = require([代码][代码]'wx-server-sdk'[代码][代码]);[代码][代码]var[代码] [代码]request = require([代码][代码]'request'[代码][代码]);[代码][代码]cloud.init()[代码][代码]exports.main = async (event, context) => {[代码][代码] [代码][代码]var[代码] [代码]options = {[代码][代码] [代码][代码]method: [代码][代码]'post'[代码][代码],[代码][代码] [代码][代码]preambleCRLF: [代码][代码]true[代码][代码],[代码][代码] [代码][代码]postambleCRLF: [代码][代码]true[代码][代码],[代码][代码] [代码][代码]uri: [代码][代码]'https://www.baidu.com'[代码][代码],[代码][代码] [代码][代码]multipart: [[代码][代码] [代码][代码]{[代码][代码] [代码][代码]body: [代码][代码]'I am nodejs request messages'[代码][代码] [代码][代码]}[代码][代码] [代码][代码]][代码][代码] [代码][代码]};[代码][代码] [代码][代码]var[代码] [代码]result = {};[代码][代码] [代码][代码]var[代码] [代码]isReturn = [代码][代码]false[代码][代码];[代码][代码] [代码][代码]request(options, [代码][代码]function[代码] [代码](error, response, body) {[代码][代码] [代码][代码]if[代码] [代码](error) {[代码][代码] [代码][代码]return[代码] [代码]console.error([代码][代码]'upload failed:'[代码][代码], error);[代码][代码] [代码][代码]}[代码][代码] [代码][代码]result = body;[代码][代码] [代码][代码]isReturn = [代码][代码]true[代码][代码];[代码][代码] [代码][代码]console.log([代码][代码]"post done"[代码][代码]);[代码][代码] [代码][代码]});[代码][代码] [代码][代码]var[代码] [代码]i = 0;[代码][代码] [代码][代码]while[代码] [代码](isReturn !== [代码][代码]true[代码][代码]){[代码][代码] [代码][代码]console.log([代码][代码]"whileing"[代码][代码]);[代码][代码] [代码][代码]i++;[代码][代码] [代码][代码]}[代码][代码] [代码][代码]console.log([代码][代码]"want to return"[代码][代码]);[代码][代码] [代码][代码]return[代码] [代码]result;[代码][代码]}[代码]这是我在服务端写的一段测试代码,发现http请求根本发不出去,每次都超时。是不是云开发禁止发http请求的 如果是的话 要如何支付呢