Commit e7e05873 by Sxy

请求信息打印

parent b669e8db
......@@ -191,12 +191,11 @@ const returnPremium = async (orderNum) => {
*/
const postRequest = async (url, data) => {
try {
console.log('请求数据 ------- ');
console.log(data);
console.log(JSON.stringify(data.actionBody.deliverContent));
console.log(`${url}请求数据 ------- `);
console.log(JSON.stringify(data));
let result = await porApi.post(url, data);
result = result.data;
console.log('返回数据 ------- ');
console.log(`${url}返回数据 ------- `);
console.log(result);
if (result.status === 1) {
return result;
......
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