Commit b269b91f by Sxy

fix: 需求看板

parent 1fa7059a
......@@ -23,7 +23,7 @@ class StatisticsService {
const data = await ToQiFuTong.getStatisticsByProduct({
start: pobj.start,
end: pobj.end,
type_code: pobj.type_code,
// status: pobj.status,
});
let result = []; // 基础数据
let channels = new Set(); //渠道
......
......@@ -58,9 +58,9 @@ class BaseClient {
async postRequest(url, data, headers = {}) {
try {
console.log(` ${url} : 请求信息 ------- `);
console.log(JSON.stringify(data))
console.log(JSON.stringify(headers))
// console.log(` ${url} : 请求信息 ------- `);
// console.log(JSON.stringify(data))
// console.log(JSON.stringify(headers))
let result = await axios.post(`${url}`, data, {
headers: {
'Content-Type': 'application/json',
......@@ -68,8 +68,8 @@ class BaseClient {
}
});
result = result.data;
console.log(` ${url} : 返回信息 ------- `);
console.log(result);
// console.log(` ${url} : 返回信息 ------- `);
// console.log(result);
if (result.status === 0) {
return result.data
} else {
......
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