guang.info.Update.js 813 Bytes
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
	    }
	})

/***/ }
]);