mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-22 12:05:05 +08:00
新增 绑定鉴权卡需密钥
This commit is contained in:
@@ -109,4 +109,14 @@ public class PileAuthCardController extends BaseController {
|
||||
public AjaxResult remove(@PathVariable Long[] ids) {
|
||||
return toAjax(pileAuthCardService.deletePileAuthCardByIds(ids));
|
||||
}
|
||||
|
||||
/**
|
||||
* 停用充电站鉴权卡
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('pile:card:edit')")
|
||||
@Log(title = "充电站鉴权卡", businessType = BusinessType.UPDATE)
|
||||
@GetMapping("/deactivateCard/{id}")
|
||||
public AjaxResult deactivateCard(@PathVariable("id") Long id) {
|
||||
return toAjax(pileAuthCardService.deactivateCard(id));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user