添加用户协议和隐私的翻译

This commit is contained in:
sunyuehai 2024-09-18 16:45:19 +08:00
parent 1e2c11b16c
commit ab84e7e57f
4 changed files with 20 additions and 0 deletions

View File

@ -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);
}
/**
* 未设置设备详情页
*/

View File

@ -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