feat():完善内部新增功能接口

dev2
WeiRan 2024-08-23 11:02:54 +08:00
parent d7f83fda09
commit 294c87aba4
1 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ public class FindCustomerMeaasgeController {
* @param idCard
* @return
*/
@RequestMapping(path = "/findListByuserCard/{idCard}")
@PostMapping(path = "/findListByuserCard/{idCard}")
@Operation(summary = "查询客户信息",description = "根据身份证号查询客户信息")
public Result<Customer> findListByuserCard(@Validated @PathVariable String idCard){
return Result.success(findCustomerMeaasgeService.findListByuserCard(idCard));
@ -50,7 +50,7 @@ public class FindCustomerMeaasgeController {
* @param tel
* @return
*/
@RequestMapping(path = "/findListByuserPhone/{tel}")
@PostMapping(path = "/findListByuserPhone/{tel}")
@Operation(summary = "查询客户信息",description = "根据手机号查询客户信息")
public Result<Customer> findListByuserPhone(@Validated @PathVariable String tel){
return Result.success(findCustomerMeaasgeService.findListByuserPhone(tel));