springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/api/UserApi.java
@@ -1268,4 +1268,15 @@ public Boolean checkUserIsValid(@RequestParam("userId") Long userId, @RequestParam("type") Integer type) { return userService.checkUserIsValid(userId, type); } /** * 根据手机号、用户类型查询用户 * @param phone * @param type * @return */ @GetMapping("/getSysUserByPhone") public R getSysUserByPhone(@RequestParam("phone") String phone, @RequestParam("type") Integer type) { return userService.getSysUserByPhone(phone, type); } }