Authored by xuhongyun

build

... ... @@ -5,6 +5,8 @@ webpackJsonp([60],[
var $ = __webpack_require__(1);
common = __webpack_require__(2);
var page, size = 0;
function getPageFromUrl() {
var uri = location.href + '';
var index = uri.indexOf('background');
... ... @@ -12,17 +14,24 @@ webpackJsonp([60],[
if(index == -1) {
return 0;
} else {
var page = uri.substring(index + 1);
return +page;
uri = uri.substring(index + 1);
index = uri.indexOf('?size=');
if(index != -1) {
page = +uri.substring(0, index);
size = +uri.substring(index + '?size='.length);
} else {
page = +uri;
}
}
}
var page = getPageFromUrl();
getPageFromUrl();
common.util.__ajax({
url: '/guang/updateArticlePic',
data: {
page: page
page: page,
size: size
}
})
... ...
... ... @@ -151,7 +151,8 @@ module.exports={
title: "更新逛详情中图片大小",
url: "/guang/article/updateArticlePic/background",
params: [
{name: "page", type:"Number"}
{name: "page", type:"Number"},
{name: "size", type:"Number", default: 0}
]
}
}
... ...