Authored by 郝肖肖

'url'

... ... @@ -16,7 +16,7 @@ const index = (req, res) => {
return res.json({
code: 200,
data: `http://spiderwebhook.yoho.cn/dist/goods-xml/goods-${req.params.start || 1}.xml`,
data: `https://www.yohobuy.com/xml-data/goods-xml/goods-${req.params.start || 1}.xml`,
message: '任务创建成功,开始运行...'
});
};
... ...
... ... @@ -11,7 +11,7 @@ const util = require(`${ROOT_PATH}/libs/util`);
const redis = require(`${ROOT_PATH}/libs/redis`);
const baiduBrand = require('./baidu-brand');
const SIZE = 1000;
const GOODS_URL = 'http://spiderwebhook.yoho.cn/dist/goods-xml';
const GOODS_URL = 'https://www.yohobuy.com/xml-data/goods-xml';
class SeoIndexModel extends global.yoho.BaseModel {
constructor(ctx) {
... ...