|
@@ -43,10 +43,14 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
import org.springframework.web.servlet.ModelAndView;
|
|
|
|
|
|
+import io.swagger.annotations.Api;
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
|
+
|
|
|
/**
|
|
|
* @author Crystal.Sea
|
|
|
*
|
|
|
*/
|
|
|
+@Api(tags = "1-1-登录接口文档模块")
|
|
|
@Controller
|
|
|
public class LoginEndpoint {
|
|
|
private static Logger _logger = LoggerFactory.getLogger(LoginEndpoint.class);
|
|
@@ -79,6 +83,7 @@ public class LoginEndpoint {
|
|
|
* init login
|
|
|
* @return
|
|
|
*/
|
|
|
+ @ApiOperation(value = "登录接口", notes = "用户登录地址",httpMethod="GET")
|
|
|
@RequestMapping(value={"/login"})
|
|
|
public ModelAndView login() {
|
|
|
_logger.debug("LoginController /login.");
|