xiuli.gao 6 lat temu
rodzic
commit
f48221fa07
2 zmienionych plików z 3 dodań i 0 usunięć
  1. 1 0
      register/register.html
  2. 2 0
      shareBooks/wechatAddSuccess.html

+ 1 - 0
register/register.html

@@ -241,6 +241,7 @@
241 241
     	}
242 242
     	if(brr[i].indexOf('appUrl') != -1){
243 243
     		appUrl = brr[i].split('=')[1];//appUrl
244
+    		appUrl = decodeURIComponent(appUrl);
244 245
     	}
245 246
     }
246 247
 	

+ 2 - 0
shareBooks/wechatAddSuccess.html

@@ -83,6 +83,7 @@
83 83
     	}
84 84
     	if(brr[i].indexOf('avatar') != -1){
85 85
     		avatar = brr[i].split('=')[1];
86
+    		avatar = decodeURI(avatar);
86 87
     	}
87 88
     	if(brr[i].indexOf('userName') != -1){
88 89
     		user_name = brr[i].split('=')[1];
@@ -98,6 +99,7 @@
98 99
     	}
99 100
     	if(brr[i].indexOf('appUrl') != -1){
100 101
     		appUrl = brr[i].split('=')[1];
102
+    		appUrl = decodeURI(appUrl);
101 103
     	}
102 104
    }
103 105