|
@@ -78,7 +78,9 @@ qmInstance.interceptors.response.use(
|
|
let detailInfo = "";
|
|
let detailInfo = "";
|
|
try {
|
|
try {
|
|
detailInfo +=
|
|
detailInfo +=
|
|
- error.config.url.replace(/\d+/g, "") + " ||| " + error.message;
|
|
|
|
|
|
+ error.config.url.replace(/=\w*/g, "=").replace(/\/\d+\//g, "/{id}/") +
|
|
|
|
+ " ||| " +
|
|
|
|
+ error.message;
|
|
} catch (error) {
|
|
} catch (error) {
|
|
console.log("detailInfo error");
|
|
console.log("detailInfo error");
|
|
}
|
|
}
|
|
@@ -162,7 +164,7 @@ qmInstance.interceptors.response.use(
|
|
"_trackEvent",
|
|
"_trackEvent",
|
|
location.pathname.replace(/\d+/g, ""),
|
|
location.pathname.replace(/\d+/g, ""),
|
|
"status: " + status,
|
|
"status: " + status,
|
|
- error.config.url.replace(/\d+/g, ""),
|
|
|
|
|
|
+ error.config.url.replace(/=\w*/g, "=").replace(/\/\d+\//g, "/{id}/"),
|
|
]);
|
|
]);
|
|
if (
|
|
if (
|
|
wk_token &&
|
|
wk_token &&
|