新增远程更新桩程序接口的调用
This commit is contained in:
parent
c9199b79bd
commit
524b5e523c
@ -43,4 +43,7 @@ public interface PowerPileService {
|
|||||||
@PostMapping("/pile/{pileNo}/timeNRateModel")
|
@PostMapping("/pile/{pileNo}/timeNRateModel")
|
||||||
R configTimeNRateModel(@PathVariable("pileNo") String pileNo);
|
R configTimeNRateModel(@PathVariable("pileNo") String pileNo);
|
||||||
|
|
||||||
|
|
||||||
|
@PostMapping("/pile/{pileNo}/softwareUpgrade")
|
||||||
|
R pileSoftwareUpgrade(@PathVariable("pileNo") String pileNo);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -63,6 +63,12 @@ public class PowerPileFallbackFactory implements FallbackFactory<PowerPileServic
|
|||||||
|
|
||||||
return R.fail("校时校费失败:" + cause.getMessage());
|
return R.fail("校时校费失败:" + cause.getMessage());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public R pileSoftwareUpgrade(String pileNo) {
|
||||||
|
|
||||||
|
return R.fail("更新桩程序失败:" + cause.getMessage());
|
||||||
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user