xiuli.gao 6 years ago
parent
commit
70f74f10bc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      shareBooks/bindingPhone.html

+ 2 - 2
shareBooks/bindingPhone.html

@@ -148,10 +148,10 @@
148 148
     str=str.substr(num+1); //str得到?之后的字符串
149 149
     var brr=str.split("&");
150 150
 	for(var i = 0 ; i<brr.length; i++){
151
-    	if(brr[i].indexOf('book_id') != -1){
151
+    	if(brr[i].indexOf('bookId') != -1){
152 152
     		book_id = brr[i].split('=')[1];
153 153
     	}
154
-    	if(brr[i].indexOf('user_id') != -1){
154
+    	if(brr[i].indexOf('userId') != -1){
155 155
     		user_id = brr[i].split('=')[1];
156 156
     	}
157 157
    }