From 13cf5a68e9d64b722c1c38bb3d675b462ec19d5e Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Tue, 18 May 2021 15:58:59 +0800 Subject: [PATCH] 20210518 申诉 --- src/main/java/com/xcong/excoin/modules/otc/controller/OtcController.java | 29 +++++++++++++++++++++++++++++ 1 files changed, 29 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/xcong/excoin/modules/otc/controller/OtcController.java b/src/main/java/com/xcong/excoin/modules/otc/controller/OtcController.java index 3050bdc..57dbe5d 100644 --- a/src/main/java/com/xcong/excoin/modules/otc/controller/OtcController.java +++ b/src/main/java/com/xcong/excoin/modules/otc/controller/OtcController.java @@ -6,6 +6,7 @@ import com.xcong.excoin.common.entity.QueryRequest; import com.xcong.excoin.modules.member.entity.MemberAccountMoneyChangeEntity; import com.xcong.excoin.modules.otc.entity.OtcMarketBussinessEntity; +import com.xcong.excoin.modules.otc.entity.OtcOrderAppealEntity; import com.xcong.excoin.modules.otc.service.OtcService; import lombok.RequiredArgsConstructor; import org.springframework.validation.annotation.Validated; @@ -54,5 +55,33 @@ return otcService.disagreeShop(id); } + /** + * 订单申诉列表 + */ + @GetMapping("otcAppealList") + public FebsResponse otcAppealList(OtcOrderAppealEntity otcOrderAppealEntity, QueryRequest request) { + Map<String, Object> data = getDataTable(otcService.otcAppealList(otcOrderAppealEntity, request)); + return new FebsResponse().success().data(data); + } + + /** + * 申诉---处理中 + * @return + */ + @GetMapping("dealIng/{id}") + @ControllerEndpoint(operation = "申诉---处理中", exceptionMessage = "失败") + public FebsResponse dealIng(@NotNull(message = "{required}") @PathVariable Long id) { + return otcService.dealIng(id); + } + + /** + * 申诉---处理完 + * @return + */ + @GetMapping("dealDone/{id}") + @ControllerEndpoint(operation = "申诉---处理完", exceptionMessage = "失败") + public FebsResponse dealDone(@NotNull(message = "{required}") @PathVariable Long id) { + return otcService.dealDone(id); + } } -- Gitblit v1.9.1