|
@@ -4,7 +4,6 @@ import com.yohobuy.ufo.model.order.resp.ExpressInfoRespBo; |
|
@@ -4,7 +4,6 @@ import com.yohobuy.ufo.model.order.resp.ExpressInfoRespBo; |
4
|
import com.yohoufo.common.ApiResponse;
|
4
|
import com.yohoufo.common.ApiResponse;
|
5
|
import com.yohoufo.order.model.response.AppraiseAddressResp;
|
5
|
import com.yohoufo.order.model.response.AppraiseAddressResp;
|
6
|
import com.yohoufo.order.service.IExpressInfoService;
|
6
|
import com.yohoufo.order.service.IExpressInfoService;
|
7
|
-import com.yohoufo.order.service.impl.AppraiseService;
|
|
|
8
|
import org.springframework.beans.factory.annotation.Autowired;
|
7
|
import org.springframework.beans.factory.annotation.Autowired;
|
9
|
import org.springframework.web.bind.annotation.RequestMapping;
|
8
|
import org.springframework.web.bind.annotation.RequestMapping;
|
10
|
import org.springframework.web.bind.annotation.RequestParam;
|
9
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
@@ -20,8 +19,6 @@ public class ExpressInfoController { |
|
@@ -20,8 +19,6 @@ public class ExpressInfoController { |
20
|
@Autowired
|
19
|
@Autowired
|
21
|
private IExpressInfoService expressInfoService;
|
20
|
private IExpressInfoService expressInfoService;
|
22
|
|
21
|
|
23
|
- @Autowired
|
|
|
24
|
- private AppraiseService appraiseService;
|
|
|
25
|
|
22
|
|
26
|
/**
|
23
|
/**
|
27
|
* 卖家发货到鉴定中心
|
24
|
* 卖家发货到鉴定中心
|
|
@@ -37,37 +34,6 @@ public class ExpressInfoController { |
|
@@ -37,37 +34,6 @@ public class ExpressInfoController { |
37
|
return new ApiResponse();
|
34
|
return new ApiResponse();
|
38
|
}
|
35
|
}
|
39
|
|
36
|
|
40
|
-
|
|
|
41
|
- /**
|
|
|
42
|
- * 商品鉴定不通过,鉴定中心寄回商品给卖家
|
|
|
43
|
- * @param expressCompanyId 快递公司id
|
|
|
44
|
- * @param orderCode 订单号
|
|
|
45
|
- * @param wayBillCode 快递单号
|
|
|
46
|
- * @return
|
|
|
47
|
- */
|
|
|
48
|
- @RequestMapping(params = "method=ufo.order.appraiseFail")
|
|
|
49
|
- public ApiResponse appraiseFail(@RequestParam("expressCompanyId") Integer expressCompanyId,
|
|
|
50
|
- @RequestParam("orderCode") Long orderCode, @RequestParam("wayBillCode") String wayBillCode) {
|
|
|
51
|
- boolean result = appraiseService.appraiseFail(expressCompanyId, orderCode, wayBillCode);
|
|
|
52
|
- return new ApiResponse.ApiResponseBuilder().code(200)
|
|
|
53
|
- .data(result).message("").build();
|
|
|
54
|
- }
|
|
|
55
|
-
|
|
|
56
|
- /**
|
|
|
57
|
- * 鉴定通过,鉴定中心发货给买家
|
|
|
58
|
- * @param expressCompanyId
|
|
|
59
|
- * @param orderCode
|
|
|
60
|
- * @param wayBillCode
|
|
|
61
|
- * @return
|
|
|
62
|
- */
|
|
|
63
|
- @RequestMapping(params = "method=ufo.order.appraiseSuccess")
|
|
|
64
|
- public ApiResponse appraiseSuccess(@RequestParam("expressCompanyId") Integer expressCompanyId,
|
|
|
65
|
- @RequestParam("orderCode") Long orderCode, @RequestParam("wayBillCode") String wayBillCode) {
|
|
|
66
|
- boolean result = appraiseService.appraiseSuccess(expressCompanyId, orderCode, wayBillCode);
|
|
|
67
|
- return new ApiResponse.ApiResponseBuilder().code(200)
|
|
|
68
|
- .data(result).message("").build();
|
|
|
69
|
- }
|
|
|
70
|
-
|
|
|
71
|
/**
|
37
|
/**
|
72
|
* 查询快递详情
|
38
|
* 查询快递详情
|
73
|
* @param orderCode
|
39
|
* @param orderCode
|