...
|
...
|
@@ -9,6 +9,7 @@ import com.yohoufo.order.service.impl.AppraiseService; |
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
...
|
...
|
@@ -34,7 +35,7 @@ public class AppraiseController { |
|
|
@RequestMapping(value="/reject")
|
|
|
@IgnoreSession
|
|
|
@IgnoreSignature
|
|
|
public ApiResponse appraiseFail(AppraiseExpressInfoBo appraiseExpressInfoBo) {
|
|
|
public ApiResponse appraiseFail(@RequestBody AppraiseExpressInfoBo appraiseExpressInfoBo) {
|
|
|
logger.info("in appraise Fail, req {}", appraiseExpressInfoBo);
|
|
|
boolean result = appraiseService.appraiseFail(appraiseExpressInfoBo.getExpressCompanyId(), appraiseExpressInfoBo.getOrderCode(), appraiseExpressInfoBo.getWayBillCode());
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200)
|
...
|
...
|
@@ -48,7 +49,7 @@ public class AppraiseController { |
|
|
@RequestMapping(value="/pass")
|
|
|
@IgnoreSession
|
|
|
@IgnoreSignature
|
|
|
public ApiResponse appraiseSuccess(AppraiseExpressInfoBo appraiseExpressInfoBo) {
|
|
|
public ApiResponse appraiseSuccess(@RequestBody AppraiseExpressInfoBo appraiseExpressInfoBo) {
|
|
|
logger.info("in appraiseSuccess, req {}", appraiseExpressInfoBo);
|
|
|
boolean result = appraiseService.appraiseSuccess(appraiseExpressInfoBo.getExpressCompanyId(), appraiseExpressInfoBo.getOrderCode(), appraiseExpressInfoBo.getWayBillCode());
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200)
|
...
|
...
|
|