Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
property-management
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjunxiong
property-management
Commits
3690a6e0
Commit
3690a6e0
authored
Feb 24, 2022
by
zhangdaiscott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swagger接口返回值,显示的是object问题
parent
897dcbca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
jeecg-boot/jeecg-boot-module-demo/src/main/java/org/jeecg/modules/demo/test/controller/JeecgDemoController.java
+1
-1
jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/controller/DuplicateCheckController.java
+1
-1
No files found.
jeecg-boot/jeecg-boot-module-demo/src/main/java/org/jeecg/modules/demo/test/controller/JeecgDemoController.java
View file @
3690a6e0
...
...
@@ -136,7 +136,7 @@ public class JeecgDemoController extends JeecgController<JeecgDemo, IJeecgDemoSe
*/
@GetMapping
(
value
=
"/queryById"
)
@ApiOperation
(
value
=
"通过ID查询DEMO"
,
notes
=
"通过ID查询DEMO"
)
public
Result
<
?
>
queryById
(
@ApiParam
(
name
=
"id"
,
value
=
"示例id"
,
required
=
true
)
@RequestParam
(
name
=
"id"
,
required
=
true
)
String
id
)
{
public
Result
<
JeecgDemo
>
queryById
(
@ApiParam
(
name
=
"id"
,
value
=
"示例id"
,
required
=
true
)
@RequestParam
(
name
=
"id"
,
required
=
true
)
String
id
)
{
JeecgDemo
jeecgDemo
=
jeecgDemoService
.
getById
(
id
);
return
Result
.
OK
(
jeecgDemo
);
}
...
...
jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/controller/DuplicateCheckController.java
View file @
3690a6e0
...
...
@@ -39,7 +39,7 @@ public class DuplicateCheckController {
*/
@RequestMapping
(
value
=
"/check"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
"重复校验接口"
)
public
Result
<
Object
>
doDuplicateCheck
(
DuplicateCheckVo
duplicateCheckVo
,
HttpServletRequest
request
)
{
public
Result
<
String
>
doDuplicateCheck
(
DuplicateCheckVo
duplicateCheckVo
,
HttpServletRequest
request
)
{
Long
num
=
null
;
log
.
info
(
"----duplicate check------:"
+
duplicateCheckVo
.
toString
());
...
...
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