Authored by lea guo

发现好货

... ... @@ -23,8 +23,6 @@ exports.index = function(req, res, next) {
const jsSdk = global.yoho.config.jsSdk;
console.log('---------result---------', result);
res.render('find-goods/index', {
module: 'activity',
page: 'find-goods',
... ...
... ... @@ -12,8 +12,6 @@ module.exports = class FindGoods extends global.yoho.BaseModel {
* @param {*} {uid, page, limit}
*/
findGoods(params) {
const host = '//m.yohobuy.com';
return this.get({
data: Object.assign(
{
... ... @@ -23,6 +21,8 @@ module.exports = class FindGoods extends global.yoho.BaseModel {
),
}).then(res => {
if (res.code === 200 && res.data.detailList) {
const host = '//m.yohobuy.com';
res.data.detailList = res.data.detailList.map(item => {
const {
authorUid,
... ...
{
"name": "yohobuywap-node-activity",
"version": "6.9.12-beta-1",
"version": "6.9.12-beta-2",
"private": true,
"description": "A New Yohobuy Project With Express",
"repository": {
... ...
... ... @@ -23,7 +23,7 @@ function onPullUp() {
) {
isLoading = true;
$.ajax({
url: '//m.yohobuy.com:6001/activity/find/goods/more',
url: '/activity/find/goods/more',
data: {
page: currentPage + 1,
},
... ...