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
f10113be
Commit
f10113be
authored
Sep 15, 2023
by
王祖波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加操作人
parent
98896dd5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
ContentThirdController.java
...manage/web/controller/content/ContentThirdController.java
+2
-0
ContentAIGCQO.java
...a/com/gic/haoban/manage/web/qo/content/ContentAIGCQO.java
+10
-0
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/content/ContentThirdController.java
View file @
f10113be
...
@@ -34,7 +34,9 @@ public class ContentThirdController {
...
@@ -34,7 +34,9 @@ public class ContentThirdController {
@RequestMapping
(
"/third/aigc"
)
@RequestMapping
(
"/third/aigc"
)
@ResponseBody
@ResponseBody
public
RestResponse
<
AIGCContent
>
aigc
(
@RequestBody
ContentAIGCQO
aigcQO
)
{
public
RestResponse
<
AIGCContent
>
aigc
(
@RequestBody
ContentAIGCQO
aigcQO
)
{
String
clerkId
=
aigcQO
.
getClerkId
();
ContentAIGCQDTO
aigcQDTO
=
EntityUtil
.
changeEntityNew
(
ContentAIGCQDTO
.
class
,
aigcQO
);
ContentAIGCQDTO
aigcQDTO
=
EntityUtil
.
changeEntityNew
(
ContentAIGCQDTO
.
class
,
aigcQO
);
aigcQDTO
.
setUserId
(
clerkId
);
ServiceResponse
<
AIGCContent
>
response
=
thirdApiService
.
aigc
(
aigcQDTO
);
ServiceResponse
<
AIGCContent
>
response
=
thirdApiService
.
aigc
(
aigcQDTO
);
if
(!
response
.
isSuccess
())
{
if
(!
response
.
isSuccess
())
{
return
RestResponse
.
failure
(
response
.
getCode
(),
response
.
getMessage
());
return
RestResponse
.
failure
(
response
.
getCode
(),
response
.
getMessage
());
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/qo/content/ContentAIGCQO.java
View file @
f10113be
...
@@ -13,6 +13,8 @@ public class ContentAIGCQO implements Serializable {
...
@@ -13,6 +13,8 @@ public class ContentAIGCQO implements Serializable {
private
String
enterpriseId
;
private
String
enterpriseId
;
private
String
clerkId
;
/**
/**
* 商品id列表
* 商品id列表
*/
*/
...
@@ -76,6 +78,14 @@ public class ContentAIGCQO implements Serializable {
...
@@ -76,6 +78,14 @@ public class ContentAIGCQO implements Serializable {
this
.
enterpriseId
=
enterpriseId
;
this
.
enterpriseId
=
enterpriseId
;
}
}
public
String
getClerkId
()
{
return
clerkId
;
}
public
void
setClerkId
(
String
clerkId
)
{
this
.
clerkId
=
clerkId
;
}
public
List
<
String
>
getGoodsIdList
()
{
public
List
<
String
>
getGoodsIdList
()
{
return
goodsIdList
;
return
goodsIdList
;
}
}
...
...
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