Commit 9af62ecb authored by 耿迪迪's avatar 耿迪迪

通知问题修改

parent 0155f7ef
...@@ -157,7 +157,8 @@ public class SysNoticeController extends BaseController ...@@ -157,7 +157,8 @@ public class SysNoticeController extends BaseController
@PostMapping("/noticeIsReadByRelationId") @PostMapping("/noticeIsReadByRelationId")
public AjaxResult noticeIsReadByRelationId(@RequestBody SysNotice notice){ public AjaxResult noticeIsReadByRelationId(@RequestBody SysNotice notice){
return toAjax(updateNoticeByRelationId(notice)); updateNoticeByRelationId(notice);
return AjaxResult.success();
} }
private int updateNoticeByRelationId(SysNotice notice){ private int updateNoticeByRelationId(SysNotice notice){
......
...@@ -6,9 +6,9 @@ spring: ...@@ -6,9 +6,9 @@ spring:
druid: druid:
# 主库数据源 # 主库数据源
master: master:
url: jdbc:mysql://36.148.23.59:33060/precision_effect_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:mysql://36.138.180.82:3309/precision_effect_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root username: zhkj_db_n
password: zehong_/sjz!D password: Fwn4B8nALmLtNh2y
# master: # master:
# url: jdbc:mysql://36.139.131.221:3808/precision_effect?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 # url: jdbc:mysql://36.139.131.221:3808/precision_effect?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
# username: precision_effect # username: precision_effect
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment