const {
md5
} = require('./md5.js')
async function PostController (params) {
console.log(params)
uniCloud.httpclient.request({
})
// 获取主页的轮播图
const hostUrl = 'https://****';
// var url="请求url";
var requestData="需要传输的数据";
const res = await uniCloud.httpclient.request(hostUrl,{
method: 'POST',
//json: true,
dataType: 'json',
data: JSON.stringify(requestData)
// headers: {
// "content-type": "application/json"
// }
})
console.log(res)
}
module.exports = {
PostController
}