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
cc679c41
Commit
cc679c41
authored
Oct 26, 2023
by
王祖波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
@ResponseBody
parent
406718b1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
ContentAIController.java
...an/manage/web/controller/content/ContentAIController.java
+3
-0
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/content/ContentAIController.java
View file @
cc679c41
...
@@ -54,6 +54,7 @@ public class ContentAIController {
...
@@ -54,6 +54,7 @@ public class ContentAIController {
* @return RestResponse
* @return RestResponse
*/
*/
@RequestMapping
(
"list-template-type"
)
@RequestMapping
(
"list-template-type"
)
@ResponseBody
public
RestResponse
<
List
<
ContentTemplateTypeDTO
>>
listTemplateType
(
@RequestParam
(
required
=
false
)
Integer
type
)
{
public
RestResponse
<
List
<
ContentTemplateTypeDTO
>>
listTemplateType
(
@RequestParam
(
required
=
false
)
Integer
type
)
{
ServiceResponse
<
List
<
ContentTemplateTypeDTO
>>
response
=
templateApiService
.
listTemplateType
(
type
,
true
);
ServiceResponse
<
List
<
ContentTemplateTypeDTO
>>
response
=
templateApiService
.
listTemplateType
(
type
,
true
);
if
(
response
.
isSuccess
())
{
if
(
response
.
isSuccess
())
{
...
@@ -70,6 +71,7 @@ public class ContentAIController {
...
@@ -70,6 +71,7 @@ public class ContentAIController {
* @return RestResponse
* @return RestResponse
*/
*/
@RequestMapping
(
"page-template"
)
@RequestMapping
(
"page-template"
)
@ResponseBody
public
RestResponse
<
Page
<
ContentTemplateVO
>>
queryByPage
(
@RequestBody
ContentTemplateQO
search
)
{
public
RestResponse
<
Page
<
ContentTemplateVO
>>
queryByPage
(
@RequestBody
ContentTemplateQO
search
)
{
ContentTemplateQDTO
templateQDTO
=
com
.
gic
.
commons
.
util
.
EntityUtil
.
changeEntityNew
(
ContentTemplateQDTO
.
class
,
search
);
ContentTemplateQDTO
templateQDTO
=
com
.
gic
.
commons
.
util
.
EntityUtil
.
changeEntityNew
(
ContentTemplateQDTO
.
class
,
search
);
BasePageInfo
basePageInfo
=
search
.
getBasePageInfo
();
BasePageInfo
basePageInfo
=
search
.
getBasePageInfo
();
...
@@ -89,6 +91,7 @@ public class ContentAIController {
...
@@ -89,6 +91,7 @@ public class ContentAIController {
* @return RestResponse
* @return RestResponse
*/
*/
@RequestMapping
(
"detail-template"
)
@RequestMapping
(
"detail-template"
)
@ResponseBody
public
RestResponse
<
ContentTemplateDetailVO
>
detailTemplate
(
Long
contentTemplateId
)
{
public
RestResponse
<
ContentTemplateDetailVO
>
detailTemplate
(
Long
contentTemplateId
)
{
ServiceResponse
<
ContentTemplateDTO
>
response
=
templateApiService
.
getTemplate
(
contentTemplateId
);
ServiceResponse
<
ContentTemplateDTO
>
response
=
templateApiService
.
getTemplate
(
contentTemplateId
);
if
(
response
.
isSuccess
())
{
if
(
response
.
isSuccess
())
{
...
...
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