Quellcode durchsuchen

新增隐私说明

anderx vor 4 Jahren
Ursprung
Commit
8ff2fe2fc1

+ 0 - 6
src/main/java/com/goafanti/common/controller/PublicController.java

@@ -5,7 +5,6 @@ import java.io.FileInputStream;
 import java.io.IOException;
 import java.io.InputStream;
 import java.io.OutputStream;
-import java.util.Date;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
@@ -23,7 +22,6 @@ import org.springframework.stereotype.Controller;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RequestMethod;
 import org.springframework.web.bind.annotation.ResponseBody;
-import org.springframework.web.servlet.ModelAndView;
 
 import com.goafanti.achievement.service.AchievementService;
 import com.goafanti.business.bo.JtBusinessProjectResult;
@@ -35,14 +33,11 @@ import com.goafanti.comment.service.CommentService;
 import com.goafanti.common.bo.Result;
 import com.goafanti.common.constant.ErrorConstants;
 import com.goafanti.common.enums.UserType;
-import com.goafanti.common.model.DemandCollection;
 import com.goafanti.common.model.JtBusinessProject;
-import com.goafanti.common.model.JtVoucherDetail;
 import com.goafanti.common.model.User;
 import com.goafanti.common.service.DistrictGlossoryService;
 import com.goafanti.common.service.FieldGlossoryService;
 import com.goafanti.common.service.IndustryCategoryService;
-import com.goafanti.common.utils.InvitationCodeUtils;
 import com.goafanti.common.utils.LoggerUtils;
 import com.goafanti.common.utils.MobileMessageUtils;
 import com.goafanti.common.utils.PasswordUtil;
@@ -57,7 +52,6 @@ import com.goafanti.demand.service.DemandService;
 import com.goafanti.portal.bo.AchievementObject;
 import com.goafanti.user.service.UserIdentityService;
 import com.goafanti.user.service.UserService;
-import com.goafanti.voucher.bo.JtVoucherDetailListBo;
 import com.goafanti.voucher.bo.JtVoucherListBo;
 import com.goafanti.voucher.service.VoucherDetailService;
 import com.goafanti.voucher.service.VoucherService;

+ 6 - 0
src/main/java/com/goafanti/common/controller/WebpageController.java

@@ -1625,4 +1625,10 @@ public class WebpageController extends BaseController {
 		return modelAndView;
 	}
 	
+	@RequestMapping("/portal/privacyStatement")
+	public ModelAndView privacyStatement(ModelAndView modelAndView){
+		modelAndView.setViewName("/portal/privacyStatement");
+		return modelAndView;
+	}
+	
 }

+ 0 - 1
src/main/webapp/WEB-INF/views/common.html

@@ -13,7 +13,6 @@
   <meta http-equiv="X-UA-Compatible" content="ie=edge">
   <th:block th:replace="${link}" />
   <th:block th:replace="${title}" />
-<!--   <title></title> -->
 </head>
 
 

Datei-Diff unterdrückt, da er zu groß ist
+ 29 - 0
src/main/webapp/WEB-INF/views/portal/privacyStatement.html


+ 5 - 2
src/main/webapp/WEB-INF/views/user/signIn.html

@@ -64,8 +64,11 @@
 						<label for="protocol" class="cheackeds_no">
 							<input type="checkbox" name="pro" id="protocol"/>
 							<a href="javascript:;" class="head_login_">同意技淘网会员服务协议条款</a>
-						</label>
-					</div>
+						</label> 
+						<span style="position: absolute; right: 53px;"> <a
+								th:href="@{/portal/privacyStatement}" target="_blank">隐私声明</a>
+							</span>
+						</div>
 					<div class="submit">
 						<input type="submit" class="sub" value="注册"/>
 					</div>