|
|
@@ -2,10 +2,7 @@ package com.zhongshu.card.server.core.controller.quest;
|
|
|
|
|
|
import com.github.microservice.net.ResultContent;
|
|
|
import com.zhongshu.card.client.model.base.IDParam;
|
|
|
-import com.zhongshu.card.client.model.quest.QuestInfoModel;
|
|
|
-import com.zhongshu.card.client.model.quest.QuestInfoParam;
|
|
|
-import com.zhongshu.card.client.model.quest.QuestInfoSearch;
|
|
|
-import com.zhongshu.card.client.model.quest.QuestInfoUpdateParam;
|
|
|
+import com.zhongshu.card.client.model.quest.*;
|
|
|
import com.zhongshu.card.server.core.service.quest.QuestService;
|
|
|
import io.swagger.v3.oas.annotations.Operation;
|
|
|
import io.swagger.v3.oas.annotations.Parameter;
|
|
|
@@ -47,8 +44,8 @@ public class QuestInfoController {
|
|
|
|
|
|
@Operation(summary = "删除", description = "删除")
|
|
|
@RequestMapping(value = "deleteById", method = {RequestMethod.POST})
|
|
|
- public ResultContent deleteById(@RequestBody IDParam param) {
|
|
|
- return this.questService.deleteById(param.getId());
|
|
|
+ public ResultContent deleteById(@RequestBody PsdParam param) {
|
|
|
+ return this.questService.deleteById(param);
|
|
|
}
|
|
|
|
|
|
@Operation(summary = "列表-分页查询", description = "列表-分页查询")
|