字典接口添加
This commit is contained in:
@@ -3,6 +3,9 @@ package com.vetti.web.controller.system;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
@@ -30,6 +33,7 @@ import com.vetti.system.service.ISysDictTypeService;
|
||||
*
|
||||
* @author ruoyi
|
||||
*/
|
||||
@Api(tags ="数据字典信息模块")
|
||||
@RestController
|
||||
@RequestMapping("/system/dict/data")
|
||||
public class SysDictDataController extends BaseController
|
||||
@@ -62,6 +66,7 @@ public class SysDictDataController extends BaseController
|
||||
/**
|
||||
* 查询字典数据详细
|
||||
*/
|
||||
@ApiOperation("查询字典数据详细")
|
||||
@PreAuthorize("@ss.hasPermi('system:dict:query')")
|
||||
@GetMapping(value = "/{dictCode}")
|
||||
public AjaxResult getInfo(@PathVariable Long dictCode)
|
||||
@@ -72,6 +77,7 @@ public class SysDictDataController extends BaseController
|
||||
/**
|
||||
* 根据字典类型查询字典数据信息
|
||||
*/
|
||||
@ApiOperation("根据字典类型查询字典数据信息")
|
||||
@GetMapping(value = "/type/{dictType}")
|
||||
public AjaxResult dictType(@PathVariable String dictType)
|
||||
{
|
||||
|
||||
@@ -135,6 +135,10 @@ twilio:
|
||||
from-name: RouteZ
|
||||
template-ids:
|
||||
routez-verification-code: d-321fee8a85704983849eb1f69313ae24
|
||||
accountSID: 1111
|
||||
authToken: 22222
|
||||
sendPhoneNumber: 33333
|
||||
|
||||
verification:
|
||||
code:
|
||||
email:
|
||||
@@ -148,6 +152,7 @@ elevenLabs:
|
||||
# apiKey: sk_5240d8f56cb1eb5225fffcf903f62479884d1af5b3de6812
|
||||
apiKey: sk_88f5a560e1bbde0e5b8b6b6eb1812163a98bfb98554acbec
|
||||
modelId: eleven_turbo_v2_5
|
||||
|
||||
# 语音转文本
|
||||
whisper:
|
||||
apiUrl: https://api.openai.com/v1/audio/transcriptions
|
||||
|
||||
@@ -37,6 +37,21 @@ systemVerificationEmailController10004 = The Verification Code Is Invalid Or Has
|
||||
|
||||
SystemCommandOverhaulAppController10001 = Operation Successful
|
||||
|
||||
|
||||
systemSysLoginService10001 = The username cannot be empty
|
||||
systemSysLoginService10002 = User password cannot be empty
|
||||
systemSysLoginService10003 = User does not exist
|
||||
systemSysLoginService10004 = Passwords do not match
|
||||
|
||||
systemSysRegisterService10001 = The username cannot be empty
|
||||
systemSysRegisterService10002 = User password cannot be empty
|
||||
systemSysRegisterService10003 = The account length must be between 2 and 20 characters
|
||||
systemSysRegisterService10004 = The password length must be between 5 and 20 characters
|
||||
systemSysRegisterService10005 = Save User
|
||||
systemSysRegisterService10006 = Failed, registered account already exists
|
||||
systemSysRegisterService10007 = Registration failed, please contact the system administrator
|
||||
|
||||
|
||||
systemEmailUtil10001 = Sending Email Failed
|
||||
systemR10001 = Operation Successful
|
||||
|
||||
|
||||
@@ -37,6 +37,19 @@ systemVerificationEmailController10004 = 验证码无效或已过期
|
||||
|
||||
SystemCommandOverhaulAppController10001 = 操作成功
|
||||
|
||||
systemSysLoginService10001 = 用户名不能为空
|
||||
systemSysLoginService10002 = 用户密码不能为空
|
||||
systemSysLoginService10003 = 用户不存在
|
||||
systemSysLoginService10004 = 密码不一致
|
||||
|
||||
systemSysRegisterService10001 = 用户名不能为空
|
||||
systemSysRegisterService10002 = 用户密码不能为空
|
||||
systemSysRegisterService10003 = 账户长度必须在2到20个字符之间
|
||||
systemSysRegisterService10004 = 密码长度必须在5到20个字符之间
|
||||
systemSysRegisterService10005 = 保存用户
|
||||
systemSysRegisterService10006 = 失败,注册账号已存在
|
||||
systemSysRegisterService10007 = 注册失败,请联系系统管理人员
|
||||
|
||||
systemEmailUtil10001 = 发送邮件失败
|
||||
systemR10001 = 操作成功
|
||||
|
||||
|
||||
Reference in New Issue
Block a user