提交 0e7da6d2 authored 作者: aiqingguo's avatar aiqingguo

注释测试接口

上级 1796b75a
...@@ -43,29 +43,29 @@ public class TempController { ...@@ -43,29 +43,29 @@ public class TempController {
@ApiOperation(value = "test", notes = "<br>By:艾庆国") @ApiOperation(value = "test", notes = "<br>By:艾庆国")
@RequestMapping(value = "/test", method = RequestMethod.GET) @RequestMapping(value = "/test", method = RequestMethod.GET)
public Result<OrderChildLineStatisticsVO> test(Integer sendAddressId, Integer receiveAddressId) { public Result test() {
return Result.ok(carrierOrderChildService.getLineStatistics(sendAddressId, receiveAddressId));
}
@ApiOperation(value = "更新网运标识", notes = "<br>By:艾庆国")
@RequestMapping(value = "/updateInvoiceType", method = RequestMethod.POST)
public Result<Void> updateInvoiceType(String childNo, Integer invoiceType) {
tempService.updateInvoiceType(childNo, invoiceType);
return Result.ok(); return Result.ok();
} }
// @ApiOperation(value = "更新网运标识", notes = "<br>By:艾庆国")
// @RequestMapping(value = "/updateInvoiceType", method = RequestMethod.POST)
// public Result<Void> updateInvoiceType(String childNo, Integer invoiceType) {
//
// tempService.updateInvoiceType(childNo, invoiceType);
//
// return Result.ok();
// }
@ApiOperation(value = "司机违约结算单完成 (临时接口)", notes = "<br>By:艾庆国")
@RequestMapping(value = "/updateBreakContractDriverSettlementFinish", method = RequestMethod.POST)
public Result<Void> updateBreakContractDriverSettlementFinish(String settlementNo) {
tempService.updateBreakContractDriverSettlementFinish(settlementNo);
return Result.ok(); // @ApiOperation(value = "司机违约结算单完成 (临时接口)", notes = "<br>By:艾庆国")
} // @RequestMapping(value = "/updateBreakContractDriverSettlementFinish", method = RequestMethod.POST)
// public Result<Void> updateBreakContractDriverSettlementFinish(String settlementNo) {
//
// tempService.updateBreakContractDriverSettlementFinish(settlementNo);
//
// return Result.ok();
// }
@ApiOperation(value = "测试支付划账 (临时接口)", notes = "<br>By:胡宁宁") @ApiOperation(value = "测试支付划账 (临时接口)", notes = "<br>By:胡宁宁")
@RequestMapping(value = "/paymentTest", method = RequestMethod.GET) @RequestMapping(value = "/paymentTest", method = RequestMethod.GET)
...@@ -90,35 +90,35 @@ public class TempController { ...@@ -90,35 +90,35 @@ public class TempController {
// return Result.ok(); // return Result.ok();
// } // }
@ApiOperation(value = "运单支付运费同步 (临时接口)", notes = "<br>By:艾庆国") // @ApiOperation(value = "运单支付运费同步 (临时接口)", notes = "<br>By:艾庆国")
@RequestMapping(value = "/orderChildPaySync", method = RequestMethod.POST) // @RequestMapping(value = "/orderChildPaySync", method = RequestMethod.POST)
public Result<Void> orderChildPaySync(@RequestBody OrderChildPaySyncParam param) { // public Result<Void> orderChildPaySync(@RequestBody OrderChildPaySyncParam param) {
//
HttpDTO httpDTO = transportFeignService.orderChildPaySync(param); // HttpDTO httpDTO = transportFeignService.orderChildPaySync(param);
String decrypt = ThirdComponent.decrypt(httpDTO.getData()); // String decrypt = ThirdComponent.decrypt(httpDTO.getData());
log.info("{}", decrypt); // log.info("{}", decrypt);
return Result.ok(); // return Result.ok();
} // }
@ApiOperation(value = "货主结算单同步 (临时接口)", notes = "<br>By:艾庆国")
@RequestMapping(value = "/ownerSettlementSync", method = RequestMethod.POST)
public Result<Void> ownerSettlementSync(@RequestBody OwnerSettlementSyncParam param) {
HttpDTO httpDTO = transportFeignService.ownerSettlementSync(param); // @ApiOperation(value = "货主结算单同步 (临时接口)", notes = "<br>By:艾庆国")
String decrypt = ThirdComponent.decrypt(httpDTO.getData()); // @RequestMapping(value = "/ownerSettlementSync", method = RequestMethod.POST)
log.info("{}", decrypt); // public Result<Void> ownerSettlementSync(@RequestBody OwnerSettlementSyncParam param) {
return Result.ok(); //
} // HttpDTO httpDTO = transportFeignService.ownerSettlementSync(param);
// String decrypt = ThirdComponent.decrypt(httpDTO.getData());
// log.info("{}", decrypt);
// return Result.ok();
// }
@ApiOperation(value = "获取风控状态 (临时接口)", notes = "<br>By:艾庆国") // @ApiOperation(value = "获取风控状态 (临时接口)", notes = "<br>By:艾庆国")
@RequestMapping(value = "/getRiskStatus", method = RequestMethod.POST) // @RequestMapping(value = "/getRiskStatus", method = RequestMethod.POST)
public Result<Void> getRiskStatus(String childNo) { // public Result<Void> getRiskStatus(String childNo) {
ThirdOrderChildRiskStatusParam param = ThirdOrderChildRiskStatusParam.builder().build(); // ThirdOrderChildRiskStatusParam param = ThirdOrderChildRiskStatusParam.builder().build();
param.setChildNo(childNo); // param.setChildNo(childNo);
HttpDTO httpDTO = transportFeignService.getRiskStatus(param); // HttpDTO httpDTO = transportFeignService.getRiskStatus(param);
String decrypt = ThirdComponent.decrypt(httpDTO.getData()); // String decrypt = ThirdComponent.decrypt(httpDTO.getData());
log.info("{}", decrypt); // log.info("{}", decrypt);
return Result.ok(); // return Result.ok();
} // }
} }
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论