Commit c4cf9b75 by 王祖波

已选中的类型id列表

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