Commit c4cf9b75 by 王祖波

已选中的类型id列表

parent ac90e314
...@@ -80,12 +80,14 @@ public class ContentAIController { ...@@ -80,12 +80,14 @@ public class ContentAIController {
* 查询模板类型列表 * 查询模板类型列表
* *
* @param type 类型 1类别2风格 null查全部 * @param type 类型 1类别2风格 null查全部
* @param typeIdList 已选中的类型id列表
* @return RestResponse * @return RestResponse
*/ */
@RequestMapping("list-template-type") @RequestMapping("list-template-type")
@ResponseBody @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); @RequestParam(required = false)List<Long> typeIdList) {
ServiceResponse<List<ContentTemplateTypeDTO>> response = templateApiService.listTemplateType(type, typeIdList,true);
if (response.isSuccess()) { if (response.isSuccess()) {
return RestResponse.successResult(response.getResult()); return RestResponse.successResult(response.getResult());
} }
......
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