访客码分享功能修改、页面标题修改
diff --git a/src/main/java/com/supwisdom/dlpay/app/controller/AppController.java b/src/main/java/com/supwisdom/dlpay/app/controller/AppController.java
index 45add4a..e5ed541 100644
--- a/src/main/java/com/supwisdom/dlpay/app/controller/AppController.java
+++ b/src/main/java/com/supwisdom/dlpay/app/controller/AppController.java
@@ -363,7 +363,7 @@
int id = checkBySign.getId();
map.put("retcode", "0");
map.put("retmsg", "保存成功");
- map.put("visitorid", id);
+ map.put("visitorid", s);
} else {
map.put("retcode", "99");
map.put("retmsg", "保存失败");
@@ -379,11 +379,11 @@
}
@RequestMapping("/getapplyqrcode")
- public String getapplycode(@RequestParam(value = "visitorid") int visitorid, Model model) {
+ public String getapplycode(@RequestParam(value = "visitorid") String visitorid, Model model) {
String qrcode = "";
- EVisitorCheckDtl visitorCheckById = visitormanageService.getVisitorCheckById(visitorid);
- if (visitorCheckById != null) {
- qrcode = visitorCheckById.getQrcode();
+ EVisitorCheckDtl visitorCheckBySign = visitormanageService.getVisitorCheckBySign(visitorid);
+ if (visitorCheckBySign != null) {
+ qrcode = visitorCheckBySign.getQrcode();
}
//qrcode="https://open.weixin.qq.com/connect/oauth2/authorize?appid="+appid+"&redirect_uri="+redirect+"%2fapp%2fqrcodevisitor%3finoutflag%3d"+inoutflag+"&response_type=code&scope=snsapi_userinfo&state=&connect_redirect=1#wechat_redirect";
//qrcode = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + appid + "&redirect_uri=" + redirect + "%2fapp%2fqrcodevisitor%3finoutflag%3d" + inoutflag + "&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect";
diff --git a/src/main/resources/templates/apph5/applyforvisitor.html b/src/main/resources/templates/apph5/applyforvisitor.html
index d43b022..9c03c65 100644
--- a/src/main/resources/templates/apph5/applyforvisitor.html
+++ b/src/main/resources/templates/apph5/applyforvisitor.html
@@ -2,7 +2,7 @@
<html xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">
<head>
- <title>首页</title>
+ <title>访客登记</title>
<meta name="_csrf_header" th:content="${_csrf.headerName}" />
<meta name="_csrf_token" th:content="${_csrf.parameterName}" th:value="${_csrf.token}" />
<meta charset="utf-8"/>
diff --git a/src/main/resources/templates/apph5/applyforvisitorcode.html b/src/main/resources/templates/apph5/applyforvisitorcode.html
index 60edccd..ed7f7b1 100644
--- a/src/main/resources/templates/apph5/applyforvisitorcode.html
+++ b/src/main/resources/templates/apph5/applyforvisitorcode.html
@@ -2,7 +2,7 @@
<html xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">
<head>
- <title>首页</title>
+ <title>访客登记</title>
<!--<meta name="_csrf_header" th:content="${_csrf.headerName}" />
<meta name="_csrf_token" th:content="${_csrf.parameterName}" th:value="${_csrf.token}" />-->
<meta charset="utf-8"/>
diff --git a/src/main/resources/templates/apph5/appvisitor.html b/src/main/resources/templates/apph5/appvisitor.html
index 3b6d0cb..3a7bb57 100644
--- a/src/main/resources/templates/apph5/appvisitor.html
+++ b/src/main/resources/templates/apph5/appvisitor.html
@@ -2,7 +2,7 @@
<html xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">
<head>
- <title>首页</title>
+ <title>访客登记</title>
<!--<meta name="_csrf_header" th:content="${_csrf.headerName}" />
<meta name="_csrf_token" th:content="${_csrf.parameterName}" th:value="${_csrf.token}" />-->
<meta charset="utf-8"/>
diff --git a/src/main/resources/templates/apph5/visitorcode.html b/src/main/resources/templates/apph5/visitorcode.html
index 5b84262..7b45773 100644
--- a/src/main/resources/templates/apph5/visitorcode.html
+++ b/src/main/resources/templates/apph5/visitorcode.html
@@ -2,7 +2,7 @@
<html xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">
<head>
- <title>首页</title>
+ <title>访客码</title>
<!--<meta name="_csrf_header" th:content="${_csrf.headerName}" />
<meta name="_csrf_token" th:content="${_csrf.parameterName}" th:value="${_csrf.token}" />-->
<meta charset="utf-8"/>
diff --git a/src/main/resources/templates/apph5/visitorhistory.html b/src/main/resources/templates/apph5/visitorhistory.html
index 5fac38e..e785ddd 100644
--- a/src/main/resources/templates/apph5/visitorhistory.html
+++ b/src/main/resources/templates/apph5/visitorhistory.html
@@ -2,7 +2,7 @@
<html xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">
<head>
- <title>首页</title>
+ <title>访客申请记录</title>
<!--<meta name="_csrf_header" th:content="${_csrf.headerName}" />
<meta name="_csrf_token" th:content="${_csrf.parameterName}" th:value="${_csrf.token}" />-->
<meta charset="utf-8"/>
diff --git a/src/main/resources/templates/apph5/visitorresult.html b/src/main/resources/templates/apph5/visitorresult.html
index ef89e01..4514b47 100644
--- a/src/main/resources/templates/apph5/visitorresult.html
+++ b/src/main/resources/templates/apph5/visitorresult.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">
<head>
- <title>首页</title>
+ <title>访客登记</title>
<!--<meta name="_csrf_header" th:content="${_csrf.headerName}" />
<meta name="_csrf_token" th:content="${_csrf.parameterName}" th:value="${_csrf.token}" />-->
<meta charset="utf-8"/>
diff --git a/src/main/resources/templates/apph5/visitorresultfail.html b/src/main/resources/templates/apph5/visitorresultfail.html
index fa6ec73..48b42f5 100644
--- a/src/main/resources/templates/apph5/visitorresultfail.html
+++ b/src/main/resources/templates/apph5/visitorresultfail.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">
<head>
- <title>首页</title>
+ <title>访客登记</title>
<!--<meta name="_csrf_header" th:content="${_csrf.headerName}" />
<meta name="_csrf_token" th:content="${_csrf.parameterName}" th:value="${_csrf.token}" />-->
<meta charset="utf-8"/>