Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
rs-cloud-platform
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
周健威
rs-cloud-platform
Commits
70c2f854
Commit
70c2f854
authored
Apr 27, 2024
by
chenyan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024/04/27_行业应用接口修改
parent
346c918d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
+11
-6
IndustryApplicationInfoController.java
...website/controller/IndustryApplicationInfoController.java
+5
-3
TModelController.java
...yuns/platform/rs/website/controller/TModelController.java
+6
-3
No files found.
rs-website/rs-website-server/src/main/java/com/upyuns/platform/rs/website/controller/IndustryApplicationInfoController.java
View file @
70c2f854
...
...
@@ -12,12 +12,14 @@ import org.springframework.web.bind.annotation.*;
@RequestMapping
(
"industryApplicationInfo"
)
public
class
IndustryApplicationInfoController
extends
BaseController
<
IndustryApplicationInfoBiz
,
IndustryApplicationInfo
>
{
@PostMapping
(
value
=
"addUpdate"
)
@PostMapping
(
value
=
"/app/unauth/addUpdate"
)
@IgnoreUserToken
public
ObjectRestResponse
addUpdate
(
@RequestBody
IndustryApplicationInfo
industryApplicationInfo
)
{
return
baseBiz
.
addObj
(
industryApplicationInfo
);
}
@GetMapping
(
value
=
"getList"
)
@GetMapping
(
value
=
"/app/unauth/getList"
)
@IgnoreUserToken
public
ObjectRestResponse
getList
(
IndustryApplicationInfoDto
industryApplicationInfoDto
)
{
return
baseBiz
.
selectList
(
industryApplicationInfoDto
);
}
...
...
@@ -34,4 +36,4 @@ public class IndustryApplicationInfoController extends BaseController<IndustryAp
return
ObjectRestResponse
.
succ
(
baseBiz
.
selectById
(
id
));
}
}
\ No newline at end of file
}
rs-website/rs-website-server/src/main/java/com/upyuns/platform/rs/website/controller/TModelController.java
View file @
70c2f854
...
...
@@ -17,19 +17,22 @@ public class TModelController extends BaseController<TModelBiz, TModel> {
@PostMapping
(
value
=
"addUpdate"
)
@PostMapping
(
value
=
"/app/unauth/addUpdate"
)
@IgnoreUserToken
public
ObjectRestResponse
addUpdate
(
@RequestBody
TModel
tModel
)
{
return
baseBiz
.
addObj
(
tModel
);
}
@PostMapping
(
value
=
"getList"
)
@PostMapping
(
value
=
"/app/unauth/getList"
)
@IgnoreUserToken
public
ObjectRestResponse
getList
(
@RequestBody
TModelDTO
tModelDTO
)
{
return
baseBiz
.
getList
(
tModelDTO
);
}
@GetMapping
(
value
=
"/detail"
)
@GetMapping
(
value
=
"/app/unauth/detail"
)
@IgnoreUserToken
public
ObjectRestResponse
detail
(
Integer
id
)
{
return
ObjectRestResponse
.
succ
(
baseBiz
.
selectById
(
id
));
}
...
...
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