Commit e7e05873 by Sxy

请求信息打印

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