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
d5a6ed7d
Commit
d5a6ed7d
authored
Apr 08, 2021
by
wzp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
adf431c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
ChinaMobileRestApiController.java
...um/party/web/controller/ChinaMobileRestApiController.java
+6
-1
No files found.
src/main/java/cn/wisenergy/chnmuseum/party/web/controller/ChinaMobileRestApiController.java
View file @
d5a6ed7d
...
...
@@ -142,7 +142,7 @@ public class ChinaMobileRestApiController extends BaseController {
@ApiOperation
(
value
=
"机顶盒激活状态查询"
,
notes
=
"机顶盒激活状态查询"
)
@GetMapping
(
"/equitment/activity"
)
@RequiresAuthentication
//@RequiresPermissions("/equitment/activity/")
//
@RequiresAuthentication //@RequiresPermissions("/equitment/activity/")
public
Map
<
String
,
Object
>
getActivity
(
@RequestParam
(
required
=
true
)
String
mac
)
{
List
<
TBoxOperation
>
list
=
new
ArrayList
<>();
try
{
...
...
@@ -243,6 +243,7 @@ public class ChinaMobileRestApiController extends BaseController {
@ApiOperation
(
value
=
"获取单个成员信息"
)
@GetMapping
(
value
=
"/user/getUserInfo"
)
@RequiresAuthentication
public
ResponseEntity
<
JSONObject
>
getById
(
String
userId
)
{
JSONObject
resultMap
=
new
JSONObject
(
true
);
try
{
...
...
@@ -278,6 +279,7 @@ public class ChinaMobileRestApiController extends BaseController {
}
@RequestMapping
(
value
=
"/user/logout"
,
method
=
RequestMethod
.
GET
)
@RequiresAuthentication
public
ResponseEntity
<
JSONObject
>
logout
()
{
String
token
=
request
.
getHeader
(
"Authorization"
);
JSONObject
resultMap
=
new
JSONObject
(
true
);
...
...
@@ -302,6 +304,7 @@ public class ChinaMobileRestApiController extends BaseController {
*/
@ApiOperation
(
value
=
"插入机顶盒日志表"
,
notes
=
"插入机顶盒日志表"
)
@PostMapping
(
value
=
"/equitment/runLog"
)
@RequiresAuthentication
public
ResponseEntity
<
JSONObject
>
insertRunLog
(
RunLog
runLog
)
{
JSONObject
resultMap
=
new
JSONObject
();
...
...
@@ -324,6 +327,7 @@ public class ChinaMobileRestApiController extends BaseController {
*/
@ApiOperation
(
value
=
"查询语言列表"
,
notes
=
"查询语言列表"
)
@PostMapping
(
value
=
"/language/info"
)
@RequiresAuthentication
public
ResponseEntity
<
JSONObject
>
languageInfo
()
{
JSONObject
resultMap
=
new
JSONObject
();
...
...
@@ -379,6 +383,7 @@ public class ChinaMobileRestApiController extends BaseController {
@ApiImplicitParam
(
name
=
"language"
,
value
=
"语言"
,
dataType
=
"String"
,
paramType
=
"query"
)
})
@GetMapping
(
"/exhibitionBoard/getBoardInfo"
)
@RequiresAuthentication
public
Map
<
String
,
Object
>
getById
(
@RequestParam
(
value
=
"boardId"
)
String
id
,
@RequestParam
(
value
=
"language"
,
required
=
false
)
LanguageEnum
language
)
{
ExhibitionBoard
exhibitionBoard
=
exhibitionBoardService
.
getById
(
id
);
String
exhibitionBoardCatId
=
exhibitionBoard
.
getExhibitionBoardCatId
();
...
...
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