|
|
@@ -9,6 +9,7 @@ import com.kym.entity.miniapp.ChargeOrder;
|
|
|
import com.kym.service.admin.StationService;
|
|
|
import com.kym.service.enplus.EnNotifyService;
|
|
|
import com.kym.service.enplus.EnPlusService;
|
|
|
+import com.kym.service.miniapp.ChargeOrderService;
|
|
|
import com.kym.service.miniapp.ChargeService;
|
|
|
import lombok.SneakyThrows;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
@@ -36,6 +37,9 @@ public class ChargerController {
|
|
|
@Autowired
|
|
|
private ChargeService chargeService;
|
|
|
|
|
|
+ @Autowired
|
|
|
+ private ChargeOrderService chargeOrderService;
|
|
|
+
|
|
|
@Autowired
|
|
|
private EnNotifyService enNotifyService;
|
|
|
|
|
|
@@ -86,6 +90,12 @@ public class ChargerController {
|
|
|
return R.success(chargeService.queryEquipBusinessPolicy(connectorId));
|
|
|
}
|
|
|
|
|
|
+ @ApiLog("充电订单详情")
|
|
|
+ @GetMapping("/orderDetail/{startChargeSeq}")
|
|
|
+ public R orderDetail(@PathVariable("startChargeSeq") String startChargeSeq) {
|
|
|
+ return R.success(chargeOrderService.orderDetailForApp(startChargeSeq));
|
|
|
+ }
|
|
|
+
|
|
|
//====================================================以上是请求EN+接口==============================================================
|
|
|
|
|
|
// 【我们请求en+时,数据都要加密验签;en+推送给我们的数据,需要验签解密,响应不需要加密。】
|