修改字典和token过期时间

This commit is contained in:
songjinsheng
2022-05-31 10:47:05 +08:00
parent bd12230d7e
commit a4976eff13
8 changed files with 58 additions and 34 deletions

View File

@ -120,10 +120,6 @@ public class AorestCoverageController {
int NUM = service.IntoUpload(value);
domain.setPictureCode(value.getFileId());
// domain.setCreatedTime(LocalDateTime.now());
//
//
// thematicMapService.save(domain);
if (NUM>0)
{
return AjaxResult.success();
@ -142,7 +138,7 @@ public class AorestCoverageController {
@ApiOperation(value = "文件查询",httpMethod = "GET")
public AjaxResult selectUpload(HttpServletResponse response, HttpServletRequest request,@RequestBody UploadFile upload)
{
List<UploadFile> eastVOSList= service.selectUpload(upload);
List<UploadFile> eastVOSList= service.selectUpload(upload.getFileId(),upload.getFileName());
return AjaxResult.success(eastVOSList);
}
@ -167,7 +163,7 @@ public class AorestCoverageController {
@ApiOperation(value = "字典查询",httpMethod = "POST")
public AjaxResult Dictionary(@RequestBody Dictionary dic)
{
List<Dictionary> diclist=service.selectDic(dic);
List<Dictionary> diclist=service.selectDic(dic.getCodingType(),dic.getCodingType1(), dic.getCodingType2());
return AjaxResult.success(diclist);
}

View File

@ -103,6 +103,23 @@ mybatis:
# 加载全局的配置文件
configLocation: classpath:mybatis/mybatis-config.xml
## 滑块验证码
#aj:
# captcha:
# # 缓存类型
# cache-type: redis
# # blockPuzzle 滑块 clickWord 文字点选 default默认两者都实例化
# type: blockPuzzle
# # 右下角显示字
# water-mark: ruoyi.vip
# # 校验滑动拼图允许误差偏移量(默认5像素)
# slip-offset: 5
# # aes加密坐标开启或者禁用(true|false)
# aes-status: true
# # 滑动干扰项(0/1/2)
# interference-options: 2
# PageHelper分页插件
pagehelper:
helperDialect: mysql