| | |
| | | import com.panzhihua.service_user.service.SysUserInputService; |
| | | import com.panzhihua.service_user.service.UserService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.List; |
| | |
| | | public R export(@RequestBody ExportUserDTO exportUserDTO){ |
| | | return userService.export(exportUserDTO); |
| | | } |
| | | |
| | | /** |
| | | * 通过手机号码查询用户信息 |
| | | * @param phone |
| | | * @return |
| | | */ |
| | | @GetMapping("getUserByPhone") |
| | | public R getSysUserVOByPhone(@RequestParam(value = "phone") String phone){ |
| | | return userService.getSysUserVOByPhone(phone); |
| | | } |
| | | } |