|
|
@@ -1917,6 +1917,22 @@
|
|
|
return res.json();
|
|
|
})
|
|
|
.then(function (res) {
|
|
|
+ try {
|
|
|
+ var alertText = JSON.stringify(res, null, 2);
|
|
|
+ if (alertText.length > 3500) {
|
|
|
+ alertText =
|
|
|
+ alertText.slice(0, 3500) + '\n…(已截断,完整见控制台)';
|
|
|
+ }
|
|
|
+ window.alert(
|
|
|
+ 'querySecondGoodsDetailWithOutJWT 返回:\n' + alertText
|
|
|
+ );
|
|
|
+ console.log('[querySecondGoodsDetailWithOutJWT]', res);
|
|
|
+ } catch (alertErr) {
|
|
|
+ window.alert(
|
|
|
+ 'querySecondGoodsDetailWithOutJWT 返回(无法序列化,见控制台)'
|
|
|
+ );
|
|
|
+ console.log('[querySecondGoodsDetailWithOutJWT]', res, alertErr);
|
|
|
+ }
|
|
|
redirectCtx = redirectCtx || {};
|
|
|
var d = pickSecondGoodsDetailData(res);
|
|
|
if (isDetailResponseGoodsUnavailable(res)) {
|