add 小程序查询用户鉴权卡列表接口

This commit is contained in:
Lemon
2023-05-24 08:46:20 +08:00
parent 45cf7d84f6
commit 50c26169e9
8 changed files with 178 additions and 5 deletions

View File

@@ -3,7 +3,6 @@ package com.jsowell.web.controller.pile;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.jsowell.common.exception.BusinessException;
import com.jsowell.pile.dto.PileAuthCardDTO;
import com.jsowell.pile.vo.web.PileAuthCardVO;
import org.springframework.security.access.prepost.PreAuthorize;
@@ -87,7 +86,7 @@ public class PileAuthCardController extends BaseController {
@Log(title = "充电站鉴权卡", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody PileAuthCardDTO dto) {
return toAjax(pileAuthCardService.insertPileAuthCardForWeb(dto));
return toAjax(pileAuthCardService.addAuthCard(dto));
}
/**