Authored by 郝肖肖

'link-submit'

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