| | |
| | | import com.ruoyi.common.core.constant.ServiceNameConstants; |
| | | import com.ruoyi.common.core.domain.R; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author zhibing.pu |
| | |
| | | @PostMapping("/t-charging-gun/updateChargingGunById") |
| | | R<String> updateChargingGunById(@RequestBody TChargingGun chargingGun); |
| | | |
| | | |
| | | /** |
| | | * 根据充电桩id获取枪 |
| | | * @param chargingPileId |
| | | * @return |
| | | */ |
| | | @PostMapping("/t-charging-gun/getChargingGunByChargingPileId") |
| | | R<List<TChargingGun>> getChargingGunByChargingPileId(@RequestParam("chargingPileId") Integer chargingPileId); |
| | | |
| | | |
| | | /** |
| | | * 接口状态变化后推送给第三方 |
| | | * @param id |
| | | * @param status |
| | | * @return |
| | | */ |
| | | @PostMapping("/t-charging-gun/pushChargingGunStatus") |
| | | R pushChargingGunStatus(@RequestParam("id") Integer id, @RequestParam("status") Integer status); |
| | | } |