|
|
|
@ -16,6 +16,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
package co.depsystem.app.demos.web; |
|
|
|
package co.depsystem.app.demos.web; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import co.depsystem.app.Demos.web.User; |
|
|
|
import co.depsystem.app.api.UserService; |
|
|
|
import co.depsystem.app.api.UserService; |
|
|
|
import co.depsystem.app.api.Common.ResponseResult; |
|
|
|
import co.depsystem.app.api.Common.ResponseResult; |
|
|
|
import co.depsystem.app.api.WebUtil.CaptchaGenerator; |
|
|
|
import co.depsystem.app.api.WebUtil.CaptchaGenerator; |
|
|
|
@ -24,7 +25,7 @@ import org.springframework.http.HttpStatus; |
|
|
|
import org.springframework.http.MediaType; |
|
|
|
import org.springframework.http.MediaType; |
|
|
|
import org.springframework.http.ResponseEntity; |
|
|
|
import org.springframework.http.ResponseEntity; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
import co.depsystem.app.Demos.web.User; |
|
|
|
import javax.annotation.Resource; |
|
|
|
import javax.annotation.Resource; |
|
|
|
import javax.servlet.http.HttpServletResponse; |
|
|
|
import javax.servlet.http.HttpServletResponse; |
|
|
|
import java.io.ByteArrayOutputStream; |
|
|
|
import java.io.ByteArrayOutputStream; |
|
|
|
|