guang.info.Update.js 580 Bytes
webpackJsonp([59],[
/* 0 */
/***/ function(module, exports, __webpack_require__) {

	var $ = __webpack_require__(1);
	common = __webpack_require__(2);

	function getPageFromUrl() {
	    var uri = location.href + '';
	    var index = uri.indexOf('background');
	    index = uri.indexOf('/', index);
	    if(index == -1) {
	        return 0;
	    } else {
	        var page = uri.substring(index + 1);
	        return +page;
	    }
	}

	var page = getPageFromUrl();

	common.util.__ajax({
	    url: '/guang/updateArticlePic',
	    data: {
	        page: page
	    }
	})

/***/ }
]);