Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
Overview
Overview
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
haoban3.0
haoban-manage3.0
Commits
39dc0ba3
Commit
39dc0ba3
authored
May 27, 2024
by
徐高华
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/xgh/bug/0415' into 'master'
Feature/xgh/bug/0415 See merge request
!1784
parents
12ed96dc
0c15b1c0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
5 deletions
+1
-5
MaterialApiServiceImpl.java
...nage/service/service/out/impl/MaterialApiServiceImpl.java
+1
-1
MaterialController.java
.../gic/haoban/manage/web/controller/MaterialController.java
+0
-4
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/MaterialApiServiceImpl.java
View file @
39dc0ba3
...
@@ -231,7 +231,7 @@ public class MaterialApiServiceImpl implements MaterialApiService {
...
@@ -231,7 +231,7 @@ public class MaterialApiServiceImpl implements MaterialApiService {
}
}
if
(
type
==
3
)
{
if
(
type
==
3
)
{
String
imgUrl
=
materialDTO
.
getImgUrl
();
String
imgUrl
=
materialDTO
.
getImgUrl
();
String
oldImgUrl
=
materialDTO
.
getImgUrl
();
String
oldImgUrl
=
old
.
getImgUrl
();
if
(!
imgUrl
.
equals
(
oldImgUrl
))
{
if
(!
imgUrl
.
equals
(
oldImgUrl
))
{
JSONResponse
response
=
qywxSuiteApiService
.
uploadImage
(
qwDTO
.
getThirdCorpid
(),
qwDTO
.
getSelf3thSecret
(),
imgUrl
,
qwDTO
.
isSelf
(),
qwDTO
.
getUrlHost
());
JSONResponse
response
=
qywxSuiteApiService
.
uploadImage
(
qwDTO
.
getThirdCorpid
(),
qwDTO
.
getSelf3thSecret
(),
imgUrl
,
qwDTO
.
isSelf
(),
qwDTO
.
getUrlHost
());
String
wxImgUrl
=
response
.
getResult
()
==
null
?
""
:
response
.
getResult
().
toString
();
String
wxImgUrl
=
response
.
getResult
()
==
null
?
""
:
response
.
getResult
().
toString
();
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/MaterialController.java
View file @
39dc0ba3
...
@@ -195,10 +195,6 @@ public class MaterialController extends WebBaseController {
...
@@ -195,10 +195,6 @@ public class MaterialController extends WebBaseController {
materialDTO
.
setStaffId
(
login
.
getClerkId
());
materialDTO
.
setStaffId
(
login
.
getClerkId
());
materialDTO
.
setStaffName
(
login
.
getClerkName
());
materialDTO
.
setStaffName
(
login
.
getClerkName
());
String
materialId
=
materialDTO
.
getMaterialId
();
String
materialId
=
materialDTO
.
getMaterialId
();
String
msg
=
this
.
checkEmoji
(
materialDTO
.
getMaterialContent
())
;
if
(
null
!=
msg
)
{
// return this.fail(msg) ;
}
MaterialDTO
dto
=
materialApiService
.
selectMaterialById
(
materialId
);
MaterialDTO
dto
=
materialApiService
.
selectMaterialById
(
materialId
);
if
(
dto
==
null
)
{
if
(
dto
==
null
)
{
return
resultResponse
(
HaoBanErrCode
.
ERR_2
);
return
resultResponse
(
HaoBanErrCode
.
ERR_2
);
...
...
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