签约流程,指纹登录
diff --git a/www/js/bindcard.js b/www/js/bindcard.js
index f7e91a2..7af7d38 100644
--- a/www/js/bindcard.js
+++ b/www/js/bindcard.js
@@ -81,9 +81,15 @@
window.localStorage.setItem("idno", idno);
window.localStorage.setItem("phoneX",ret.phonex);
window.localStorage.setItem("personid", ret.personid);
+ window.localStorage.setItem("userid", ret.personid);
window.localStorage.setItem("signed", ret.signed);
window.localStorage.setItem("paypwdset", ret.paypwdset);
- window.location = "bindcheck.html";
+ if(ret.signed=='yes'){
+ window.location = "main.html"
+ }else{
+ window.location = "bindcheck.html";
+ }
+
} else {
if (ret.code == -1) {
$.alert(ret.msg, "提示", function() {