【优化】优化政策协议接口

This commit is contained in:
2025-10-30 16:05:23 +08:00
parent 5ea30d6f85
commit 2942fdabfe

View File

@@ -2,6 +2,7 @@ package com.corewing.app.modules.app;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
/**
@@ -15,8 +16,8 @@ public class AgreementController {
* 隐私政策列表
* @return
*/
@GetMapping("/viewList")
public String viewList() {
@GetMapping("/viewList/{lang}")
public String viewList(@PathVariable String lang) {
return "app/agreement/index";
}