| | |
| | | |
| | | import com.ruoyi.chargingPile.api.factory.PartnerFallbackFactory; |
| | | import com.ruoyi.chargingPile.api.model.Partner; |
| | | import com.ruoyi.chargingPile.api.model.TPartnerAppUser; |
| | | import com.ruoyi.common.core.constant.ServiceNameConstants; |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.common.core.web.domain.AjaxResult; |
| | |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | import java.util.List; |
| | | import java.util.Set; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @PostMapping("/partner/getPartnerById/{id}") |
| | | R<Partner> getPartnerById(@PathVariable("id") Integer id); |
| | | |
| | | @PostMapping("/partner/getPartnerByAppUserId/{appUserId}") |
| | | R<Partner> getPartnerByAppUserId(@PathVariable("appUserId") Long appUserId); |
| | | |
| | | @PostMapping("/partner/appUser/relations/{partnerId}") |
| | | R<List<TPartnerAppUser>> getBoundAppUserRelations(@PathVariable("partnerId") Integer partnerId); |
| | | |
| | | |
| | | /** |
| | |
| | | */ |
| | | @PostMapping("/partner/authMenu/{partnerId}") |
| | | Boolean authMenu(@PathVariable("partnerId") Integer partnerId, @RequestParam("siteId") Integer siteId, @RequestParam("siteMenu") String siteMenu); |
| | | @PostMapping("/partner/getChargingBillMenu/{partnerId}/{siteId}") |
| | | R<List<Boolean>> getChargingBillMenu(@PathVariable("partnerId")Integer partnerId,@PathVariable("siteId") Integer siteId); |
| | | @PostMapping("/partner/getChargingOrderMenu/{partnerId}/{siteId}") |
| | | R<List<Boolean>> getChargingOrderMenu(@PathVariable("partnerId")Integer partnerId,@PathVariable("siteId") Integer siteId); |
| | | @PostMapping("/partner/getChargingListMenu/{partnerId}/{siteId}") |
| | | R<List<Boolean>> getChargingListMenu(@PathVariable("partnerId")Integer partnerId, @PathVariable("siteId") Integer siteId); |
| | | @PostMapping("/partner/getSettlementListMenu/{partnerId}/{siteId}") |
| | | R<List<Boolean>> getSettlementListMenu(@PathVariable("partnerId")Integer partnerId, @PathVariable("siteId") Integer siteId); |
| | | @PostMapping("/partner/getAccountMenu/{partnerId}/{siteId}") |
| | | R<List<Boolean>> getAccountMenu(@PathVariable("partnerId")Integer partnerId, @PathVariable("siteId") Integer siteId); |
| | | @PostMapping("/partner/managePageListMenu/{partnerId}/{siteId}") |
| | | R<List<Boolean>> managePageListMenu(@PathVariable("partnerId")Integer partnerId,@PathVariable("siteId") Integer siteId); |
| | | @PostMapping("/partner/parkingRecordListMenu/{partnerId}/{siteId}") |
| | | R<List<Boolean>> parkingRecordListMenu(@PathVariable("partnerId")Integer partnerId,@PathVariable("siteId") Integer siteId); |
| | | @PostMapping("/partner/watchChargingOrder/{partnerId}/{siteId}") |
| | | R<List<Boolean>> watchChargingOrder(@PathVariable("partnerId")Integer partnerId,@PathVariable("siteId") Integer siteId); |
| | | @PostMapping("/partner/chargeEvaluation/{partnerId}/{siteId}") |
| | | R<List<Boolean>> chargeEvaluation(@PathVariable("partnerId")Integer partnerId,@PathVariable("siteId") Integer siteId); |
| | | } |