Authored by 邱骏

隐藏闲鱼中的头部下载

... ... @@ -216,7 +216,7 @@ try {
app.use(ifElseMd(isOpenApmRisk, riskManagementApm(), riskManagement()));
app.use(statics(app));
require('./dispatch')(app);
require('./dispatch')(app); // 路由重写
app.all('*', errorHanlder.notFound()); // 404
// YOHO 后置中间件
... ...
... ... @@ -618,6 +618,7 @@ class featureModel extends global.yoho.BaseModel {
};
return this.get({data}).then(result => {
console.log(result);
if (!result) {
result.code = 404;
result.message = '出错啦~';
... ...
... ... @@ -12,7 +12,7 @@
a.async = 1;
a.src = j;
m.parentNode.insertBefore(a, m); // '//cdn.yoho.cn/yas-jssdk/2.4.20/yas.js'
}(window, document, 'script', (document.location.protocol === 'https:' ? 'https:' : 'http:') + '//cdn.yoho.cn/yas-jssdk/2.4.22/yas.js', '_yas'));
}(window, document, 'script', (document.location.protocol === 'https:' ? 'https:' : 'http:') + '//cdn.yoho.cn/yas-jssdk/2.4.24/yas.js', '_yas'));
var _hmt = _hmt || [];
... ...
... ... @@ -157,6 +157,7 @@ class SmsLoginNew extends Page {
mobile: phone
}
}).then(res => {
if (res.code === 200) {
checkPoint('YB_MOBILE_LOGIN_C'); // 埋点
... ...