Compare commits
2 Commits
cca1847fbf
...
5ea30d6f85
| Author | SHA1 | Date | |
|---|---|---|---|
| 5ea30d6f85 | |||
| e6ae7d60e3 |
@@ -29,6 +29,8 @@ public class SaTokenConfig implements WebMvcConfigurer {
|
||||
.excludePathPatterns("/feedback", "/feedback/**")
|
||||
// 排除教程接口(支持匿名查询)
|
||||
.excludePathPatterns("/tutorial", "/tutorial/**")
|
||||
// 排除隐私政策接口(支持匿名查询)
|
||||
.excludePathPatterns("/agreement", "/agreement/**")
|
||||
// 排除固件查询接口(不需要登录)
|
||||
.excludePathPatterns("/firmware/**")
|
||||
// 排除静态资源
|
||||
|
||||
@@ -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";
|
||||
}
|
||||
|
||||
}
|
||||
10
src/main/resources/templates/app/agreement/index.html
Normal file
10
src/main/resources/templates/app/agreement/index.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>隐私政策</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user