Authored by 郝肖肖

'link-submit'

... ... @@ -39,10 +39,10 @@ class BaiduLinkSubmit extends global.yoho.BaseModel {
timeout: 8 * 1000,
gzip: true
}).then(result => {
return Object.assign({code: 200, site: site}, JSON.parse(result || '{}'));
return Object.assign({code: 200}, JSON.parse(result || '{}'));
}).catch(e => {
console.log(e.message);
return {code: 400, site: site, data: {}, message: e.message};
return {code: 400, data: {}, message: e.message};
});
}
... ...