Compare commits

..

2 Commits

Author SHA1 Message Date
5ea30d6f85 【新增】排除隐私政策接口拦截 2025-10-30 12:29:30 +08:00
e6ae7d60e3 【新增】隐私政策 2025-10-30 12:29:03 +08:00
3 changed files with 35 additions and 0 deletions

View File

@@ -29,6 +29,8 @@ public class SaTokenConfig implements WebMvcConfigurer {
.excludePathPatterns("/feedback", "/feedback/**")
// 排除教程接口(支持匿名查询)
.excludePathPatterns("/tutorial", "/tutorial/**")
// 排除隐私政策接口(支持匿名查询)
.excludePathPatterns("/agreement", "/agreement/**")
// 排除固件查询接口(不需要登录)
.excludePathPatterns("/firmware/**")
// 排除静态资源

View File

@@ -0,0 +1,23 @@
package com.corewing.app.modules.app;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
/**
* 隐私政策与协议
*/
@Controller
@RequestMapping("/agreement")
public class AgreementController {
/**
* 隐私政策列表
* @return
*/
@GetMapping("/viewList")
public String viewList() {
return "app/agreement/index";
}
}

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>隐私政策</title>
</head>
<body>
</body>
</html>