mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-18 17:38:48 +08:00
添加用户协议和隐私的翻译
This commit is contained in:
parent
1e2c11b16c
commit
ab84e7e57f
@ -24,7 +24,21 @@ import java.util.*;
|
||||
public class EqTextController extends BaseController {
|
||||
|
||||
|
||||
/**
|
||||
* 用户协议和隐私协议
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/protocol")
|
||||
public R<Map<String,List<String>>> protocol(){
|
||||
Map<String, List<String>> result = new HashMap<>();
|
||||
|
||||
//《登录》login
|
||||
result.put("protocol",Arrays.asList(
|
||||
MessageUtils.message("protocol.user"),
|
||||
MessageUtils.message("protocol.personal")
|
||||
));
|
||||
return R.ok(result);
|
||||
}
|
||||
/**
|
||||
* 未设置设备详情页
|
||||
*/
|
||||
|
||||
@ -59,3 +59,5 @@ tenant.number.not.blank=租户编号不能为空
|
||||
tenant.not.exists=对不起, 您的租户不存在,请联系管理员
|
||||
tenant.blocked=对不起,您的租户已禁用,请联系管理员
|
||||
tenant.expired=对不起,您的租户已过期,请联系管理员
|
||||
protocol.user=用户协议
|
||||
protocol.personal=隐私协议
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user