Browse Source

消息通知

igl 1 year ago
parent
commit
7447940a99

+ 5 - 12
src/main/java/com/chelvc/cloud/maintain/controller/InformController.java

@@ -1,18 +1,8 @@
 package com.chelvc.cloud.maintain.controller;
 
-import javax.validation.Valid;
-import javax.validation.constraints.NotNull;
-
 import com.chelvc.cloud.vehicle.client.InformClient;
 import com.chelvc.cloud.vehicle.client.constant.SystemInformType;
-import com.chelvc.cloud.vehicle.client.dto.CommentDTO;
-import com.chelvc.cloud.vehicle.client.dto.EvaluateDTO;
-import com.chelvc.cloud.vehicle.client.dto.NewInformDTO;
-import com.chelvc.cloud.vehicle.client.dto.NewMerchantInformDTO;
-import com.chelvc.cloud.vehicle.client.dto.OmsOrderDTO;
-import com.chelvc.cloud.vehicle.client.dto.OmsOrderOperateHistoryDTO;
-import com.chelvc.cloud.vehicle.client.dto.OmsOrderReturnApplyIdsDTO;
-import com.chelvc.cloud.vehicle.client.dto.UserCouponDTO;
+import com.chelvc.cloud.vehicle.client.dto.*;
 import com.chelvc.framework.base.annotation.ResponseWrapping;
 import com.chelvc.framework.base.context.SessionContextHolder;
 import com.chelvc.framework.common.exception.ResourceUnavailableException;
@@ -26,6 +16,9 @@ import org.springframework.web.bind.annotation.PutMapping;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RestController;
 
+import javax.validation.Valid;
+import javax.validation.constraints.NotNull;
+
 /**
  * 订单通知接口
  *
@@ -120,7 +113,7 @@ public class InformController {
      * @return 用户的订单列表
      */
     @GetMapping("/comment/inform")
-    public Pagination<CommentDTO> listCommentInform(@Valid Paging paging) {
+    public Pagination<GoodsAssessDto> listCommentInform(@Valid Paging paging) {
         return informClient.selectCommentListByUserId(SessionContextHolder.getId(), paging);
     }