Commit f10113be by 王祖波

增加操作人

parent 98896dd5
...@@ -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());
......
...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment