2 次代碼提交 fcd9c6526c ... c6901726ce

作者 SHA1 備註 提交日期
  juney c6901726ce Merge branch 'master' of http://106.246.249.162:13000/orderqueen/oqpo-view 2 年之前
  juney 83506c2e17 모바일 PUSH 적용 2 年之前
共有 2 個文件被更改,包括 2 次插入9 次删除
  1. 2 2
      src/main/webapp/mobile/js/app/main.js
  2. 0 7
      src/main/webapp/mobile/js/config.js

+ 2 - 2
src/main/webapp/mobile/js/app/main.js

@@ -29,11 +29,11 @@ function clickNotify(nticeNo) {
29 29
  
30 30
 var mobMainObj = {
31 31
 	init: function () {
32
-		var PushURL = urlParams.PushURL;
32
+		var PushURL = CommonObj.getParameter('PushURL');
33 33
 		if(PushURL) {
34 34
 			const id = PushURL.substring(PushURL.lastIndexOf('/') + 1, PushURL.length).replace(".html", "");
35 35
 			const href = MOBILE_CONTEXTPATH + PushURL;
36
-			_this.loadPage(id, href);
36
+			fn_make_slide_menu.loadPage(id, href);
37 37
 		} else {
38 38
 			this.ui();
39 39
 			this.action();

+ 0 - 7
src/main/webapp/mobile/js/config.js

@@ -915,13 +915,6 @@ let CommonObj = {
915 915
 	isApp: (/oqpo_android|oqpo_ios/).test(navigator.userAgent.toLowerCase())
916 916
 };
917 917
 
918
-var urlParams = location.search.split(/[?&]/).slice(1).map(function(paramPair) {
919
-	return paramPair.split(/=(.+)?/).slice(0, 2);
920
-}).reduce(function(obj, pairArray) {
921
-	obj[pairArray[0]] = pairArray[1];
922
-	return obj;
923
-}, {});
924
-
925 918
 function itp_fn_date_format(date, type) {
926 919
 	let month = date.getMonth() + 1;
927 920
 	let day = date.getDate();