LoginController.java 1.4 KB

123456789101112131415161718192021222324252627282930313233
  1. //package com.yihu.jw.controller.login;
  2. //
  3. //import com.yihu.jw.config.security.UserService;
  4. //import io.swagger.annotations.Api;
  5. //import org.springframework.beans.factory.annotation.Autowired;
  6. //import org.springframework.cloud.sleuth.Tracer;
  7. //import org.springframework.web.bind.annotation.*;
  8. //
  9. ///**
  10. // * Created by chenweida on 2017/6/16.
  11. // */
  12. //@RestController
  13. //@Api(value = "登陆相关操作", description = "登陆相关操作")
  14. //public class LoginController {
  15. // @Autowired
  16. // private Tracer tracer;
  17. // @Autowired
  18. // private UserService userService;
  19. //
  20. //
  21. //// @GetMapping(value = "/employLogin", consumes = MediaType.APPLICATION_JSON_UTF8_VALUE)
  22. //// @ApiOperation(value = "患者登陆", notes = "患者登陆")
  23. //// public Envelop employLogin(
  24. //// @ApiParam(name = "account", value = "账号", defaultValue = "")
  25. //// @RequestParam(name = "account", required = true) String account,
  26. //// @ApiParam(name = "password", value = "密码", defaultValue = "")
  27. //// @RequestParam(name = "password", required = true) String password,
  28. //// @ApiParam(name = "type", value = "登陆方式(默认1):1账号密码 2账号验证码", defaultValue = "")
  29. //// @RequestParam(name = "type", required = false, defaultValue = "1") Integer type) throws Exception {
  30. ////
  31. //// return null;
  32. //// }
  33. //}