【优化】优化政策协议接口
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user