@RestController @RequestMapping(value="/api/user") public class UserResource extends BaseResource<User>
service
Constructor and Description |
---|
UserResource(BaseService<User> service) |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<LoginResultDto>> |
forgot(LoginDto loginDto) |
reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<LoginResultDto>> |
sigin(LoginDto loginDto) |
asyncFlux, asyncMono, count, delete, findAll, findByExperiment, getOne, save, update
public UserResource(BaseService<User> service)
@PostMapping(value="/login", produces="application/json;charset=UTF-8") @ResponseStatus(value=OK) public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<LoginResultDto>> sigin(@RequestBody LoginDto loginDto)
@PostMapping(value="/forgot", produces="application/json;charset=UTF-8") @ResponseStatus(value=OK) public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<LoginResultDto>> forgot(@RequestBody LoginDto loginDto)