Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
chnmuseum-party
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
liqin
chnmuseum-party
Commits
d785d73a
Commit
d785d73a
authored
Apr 19, 2021
by
liqin
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fixed
parent
97bdfe9a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
ChinaMobileRestApiController.java
...um/party/web/controller/ChinaMobileRestApiController.java
+5
-5
LearningContentController.java
...useum/party/web/controller/LearningContentController.java
+0
-1
No files found.
src/main/java/cn/wisenergy/chnmuseum/party/web/controller/ChinaMobileRestApiController.java
View file @
d785d73a
...
...
@@ -330,12 +330,12 @@ public class ChinaMobileRestApiController extends BaseController {
}
@ApiImplicitParams
(
value
=
{
@ApiImplicitParam
(
name
=
"boardId"
,
value
=
"展板内容ID"
,
paramType
=
"
path
"
,
dataType
=
"String"
,
required
=
true
)
@ApiImplicitParam
(
name
=
"boardId"
,
value
=
"展板内容ID"
,
paramType
=
"
query
"
,
dataType
=
"String"
,
required
=
true
)
})
@ApiOperation
(
value
=
"查询某个展板语言列表"
,
notes
=
"查询某个展板语言列表"
)
@GetMapping
(
value
=
"/exhibitionBoard/language
/{boardId}
"
)
@GetMapping
(
value
=
"/exhibitionBoard/language"
)
@RequiresAuthentication
public
Map
<
String
,
Object
>
getLanguageList
(
@
PathVariable
(
value
=
"boardId"
)
String
boardId
)
{
public
Map
<
String
,
Object
>
getLanguageList
(
@
RequestParam
(
value
=
"boardId"
)
String
boardId
)
{
JSONObject
resultMap
=
new
JSONObject
();
List
<
Map
<
String
,
String
>>
list
=
new
ArrayList
<>();
try
{
...
...
@@ -356,10 +356,10 @@ public class ChinaMobileRestApiController extends BaseController {
return
resultMap
;
}
catch
(
Exception
e
)
{
resultMap
.
put
(
"resultCode"
,
"500"
);
resultMap
.
put
(
"message"
,
"
失败
"
);
resultMap
.
put
(
"message"
,
"
该展板已下架
"
);
resultMap
.
put
(
"data"
,
""
);
}
return
getFailResult
();
return
getFailResult
(
"该展板已下架"
);
}
@ApiImplicitParams
(
value
=
{
...
...
src/main/java/cn/wisenergy/chnmuseum/party/web/controller/LearningContentController.java
View file @
d785d73a
...
...
@@ -150,7 +150,6 @@ public class LearningContentController extends BaseController {
public
Map
<
String
,
Object
>
updateLearningContent
(
@Validated
(
value
=
{
Update
.
class
})
LearningContent
learningContent
)
{
TUser
user
=
getcurUser
();
learningContent
.
setAuditStatus
(
AuditStatusEnum
.
TBC
.
name
());
learningContent
.
setPublished
(
false
);
// 保存业务节点信息
final
String
learningContentId
=
learningContent
.
getId
();
...
...
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