guang.info.Update.js
813 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
webpackJsonp([65],[
/* 0 */
/***/ function(module, exports, __webpack_require__) {
var $ = __webpack_require__(1);
common = __webpack_require__(2);
var page, size = 0;
function getPageFromUrl() {
var uri = location.href + '';
var index = uri.indexOf('background');
index = uri.indexOf('/', index);
if(index == -1) {
return 0;
} else {
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;
}
}
}
getPageFromUrl();
common.util.__ajax({
url: '/guang/updateArticlePic',
data: {
page: page,
size: size
}
})
/***/ }
]);