Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
P
precision-effect
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
耿迪迪
precision-effect
Commits
9af62ecb
Commit
9af62ecb
authored
Jul 18, 2023
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
通知问题修改
parent
0155f7ef
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
SysNoticeController.java
...com/zehong/web/controller/system/SysNoticeController.java
+2
-1
application-dev.yml
...ision-effect-admin/src/main/resources/application-dev.yml
+3
-3
No files found.
precision-effect-admin/src/main/java/com/zehong/web/controller/system/SysNoticeController.java
View file @
9af62ecb
...
@@ -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
){
...
...
precision-effect-admin/src/main/resources/application-dev.yml
View file @
9af62ecb
...
@@ -6,9 +6,9 @@ spring:
...
@@ -6,9 +6,9 @@ spring:
druid
:
druid
:
# 主库数据源
# 主库数据源
master
:
master
:
url
:
jdbc:mysql://36.1
48.23.59:33060
/precision_effect_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
url
:
jdbc:mysql://36.1
38.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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment