|
|
@@ -3,6 +3,7 @@ package com.kym.miniapp.controller;
|
|
|
import com.kym.common.R;
|
|
|
import com.kym.common.controller.IController;
|
|
|
import com.kym.entity.common.PageParams;
|
|
|
+import com.kym.entity.miniapp.queryParams.WashOrderQueryParams;
|
|
|
import com.kym.service.miniapp.WashOrderService;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.ModelAttribute;
|
|
|
@@ -39,4 +40,15 @@ public class WashOrderController extends IController {
|
|
|
return resp(() -> washOrderService.listMyWashOrder(params));
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 获取当前用户订单详情
|
|
|
+ *
|
|
|
+ * @param params
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @GetMapping(value = "/detailWashOrder")
|
|
|
+ R<?> listMyWashOrder(@ModelAttribute WashOrderQueryParams params) {
|
|
|
+ return resp(() -> washOrderService.queryOrder(params));
|
|
|
+ }
|
|
|
+
|
|
|
}
|