修改桩回调接口方法名
This commit is contained in:
parent
35b1aad4e4
commit
5936e9469a
@ -22,8 +22,8 @@ public interface PileOrderService {
|
||||
* @param remark 备注
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/chargeOrder/stopUp")
|
||||
R pileStartUp(@RequestParam("orderNo") String orderNo, @RequestParam("status") Integer status, @RequestParam("remark") String remark);
|
||||
@GetMapping("/chargeOrder/pileStartup")
|
||||
R pileStartup(@RequestParam("orderNo") String orderNo, @RequestParam("status") Integer status, @RequestParam("remark") String remark);
|
||||
|
||||
/**
|
||||
* 桩停止回调接口
|
||||
@ -32,7 +32,7 @@ public interface PileOrderService {
|
||||
* @param remark 备注
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/chargeOrder/pileStopUp")
|
||||
R pileStopUp(@RequestParam("orderNo") String orderNo,@RequestParam("status") Integer status,@RequestParam("remark") String remark);
|
||||
@GetMapping("/chargeOrder/pileStopup")
|
||||
R pileStopup(@RequestParam("orderNo") String orderNo,@RequestParam("status") Integer status,@RequestParam("remark") String remark);
|
||||
|
||||
}
|
||||
|
||||
@ -22,13 +22,13 @@ public class PileOrderFallbackFactory implements FallbackFactory<PileOrderServic
|
||||
logger.error("订单服务调用失败:{}//fallback",cause.getMessage());
|
||||
return new PileOrderService() {
|
||||
@Override
|
||||
public R pileStartUp(String orderNo, Integer status, String remark) {
|
||||
public R pileStartup(String orderNo, Integer status, String remark) {
|
||||
|
||||
return R.fail("桩启动回调接口失败:" + cause.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public R pileStopUp(String orderNo, Integer status, String remark) {
|
||||
public R pileStopup(String orderNo, Integer status, String remark) {
|
||||
|
||||
return R.fail("桩停止回调接口失败:" + cause.getMessage());
|
||||
}
|
||||
|
||||
@ -44,9 +44,9 @@ public class HxpcPileOrderController extends BaseController {
|
||||
/**
|
||||
* 测试
|
||||
*/
|
||||
@GetMapping("/test/chargeOrder/pileStartUp")
|
||||
@GetMapping("/test/chargeOrder/pileStartup")
|
||||
private R test(@RequestParam String orderNo, @RequestParam Integer status, @RequestParam String remark){
|
||||
R r = pileOrderService.pileStopUp(orderNo, status, remark);
|
||||
R r = pileOrderService.pileStopup(orderNo, status, remark);
|
||||
return r;
|
||||
}
|
||||
|
||||
@ -58,8 +58,8 @@ public class HxpcPileOrderController extends BaseController {
|
||||
* @param remark 备注
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/chargeOrder/pileStartUp")
|
||||
public R pileStartUp(String orderNo, Integer status, String remark){
|
||||
@GetMapping("/chargeOrder/pileStartup")
|
||||
public R pileStartup(String orderNo, Integer status, String remark){
|
||||
//解析订单编号
|
||||
String s = orderNo.split("\\.")[0];
|
||||
String s1 = s.split(":")[1];
|
||||
@ -89,8 +89,8 @@ public class HxpcPileOrderController extends BaseController {
|
||||
* @param remark 备注
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/chargeOrder/pileStopUp")
|
||||
public R pileStopUp(String orderNo,Integer status,String remark){
|
||||
@GetMapping("/chargeOrder/pileStopup")
|
||||
public R pileStopup(String orderNo,Integer status,String remark){
|
||||
//解析订单编号
|
||||
String s = orderNo.split("\\.")[0];
|
||||
String s1 = s.split(":")[1];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user