Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
intel_promotion_api
Project
Project
Details
Activity
Releases
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
liyilin
intel_promotion_api
Commits
5a1f9dd4
Commit
5a1f9dd4
authored
Sep 23, 2024
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了bug
parent
c887508b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
CmsNewsServiceImpl.java
...oft/business/cmsnews/service/impl/CmsNewsServiceImpl.java
+4
-3
No files found.
src/main/java/org/rcisoft/business/cmsnews/service/impl/CmsNewsServiceImpl.java
View file @
5a1f9dd4
...
...
@@ -87,9 +87,10 @@ public class CmsNewsServiceImpl extends ServiceImpl<CmsNewsRepository, CmsNews>
if
(
ObjectUtil
.
isNotNull
(
check
))
{
throw
new
CyServiceException
(
500
,
"权重已存在"
);
}
else
{
//移除16进制表情
cmsNews
.
setDetails
(
cmsNews
.
getDetails
().
replaceAll
(
"[\uD83C-\uDBFF\uDC00-\uDFFF]"
,
""
));
if
(
cmsNews
.
getDetails
()
!=
null
)
{
//移除16进制表情
cmsNews
.
setDetails
(
cmsNews
.
getDetails
().
replaceAll
(
"[\uD83C-\uDBFF\uDC00-\uDFFF]"
,
""
));
}
int
line
=
baseMapper
.
insert
(
cmsNews
);
//判断如果当前用户为商家管理员 将这个与商家管理员进行绑定
...
...
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