Authored by 陈轩

fix

... ... @@ -201,19 +201,18 @@ seckillObj = {
* [异步加载商品列表]
*/
refreshProductList: function(activityId, startTime) {
var url = yoho.isApp ?
'/product/seckill/get-product-list?app_version=1' :
'/product/seckill/get-product-list';
loading.show();
$.ajax({
url: '/product/seckill/get-product-list',
url: url,
data: {
uid: yoho.isLogin(), // only app use;
activityId: activityId,
startTime: startTime
},
beforeSend: function(jqXhr, config) {
if (yoho.isApp) {
config.url += '&app_version=1';
}
},
success: function(data) {
$('.product-list').html(data);
lazyload('img.lazy');
... ...