修改数据库配置

This commit is contained in:
gy b
2023-10-12 20:11:09 +08:00
parent 52e0baa614
commit dcb1139a6a
3 changed files with 4 additions and 4 deletions
@@ -46,7 +46,7 @@ public class AdjudicationController extends BaseController {
* @return * @return
*/ */
@GetMapping("/logistics") @GetMapping("/logistics")
@PreAuthorize("@ss.hasPermi('delivery:detail')") // @PreAuthorize("@ss.hasPermi('delivery:detail')")
public AjaxResult getLogisticsInfo(CaseApplication caseApplication){ public AjaxResult getLogisticsInfo(CaseApplication caseApplication){
List<LogisticsInfoVO> logisticsInfo = adjudicationService.getLogisticsInfo(caseApplication); List<LogisticsInfoVO> logisticsInfo = adjudicationService.getLogisticsInfo(caseApplication);
return AjaxResult.success(logisticsInfo); return AjaxResult.success(logisticsInfo);
@@ -30,7 +30,7 @@ public class CaseApplicationController extends BaseController {
/** /**
* 查询立案数据 * 查询立案数据
*/ */
@PreAuthorize("@ss.hasPermi('caseManagement:list')") // @PreAuthorize("@ss.hasPermi('caseManagement:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(CaseApplication caseApplication) { public TableDataInfo list(CaseApplication caseApplication) {
startPage(); startPage();
@@ -6,9 +6,9 @@ spring:
druid: druid:
# 主库数据源 # 主库数据源
master: master:
url: jdbc:mysql://121.40.189.20:3306/arbitrate?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=Asia/Shanghai&useSSL=false url: jdbc:mysql://121.40.189.20:3306/smart_arbitration?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=Asia/Shanghai&useSSL=false
username: root username: root
password: root123456 password: YMzc157#
# 从库数据源 # 从库数据源
slave: slave:
# 从数据源开关/默认关闭 # 从数据源开关/默认关闭