'use strict';
exports.main = async (event, context) => {
//event.body为客户端上传的参数
console.log('event : ', event.body)
var res=event.body
var obg={};
var arr=res.split('&')
for (var i = 0; i < arr.length; i++) {
obg[arr[i].split('=')[0]]=arr[i].split('=')[1]
}
return obg
};