|
@@ -49,7 +49,7 @@ public class UserController {
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
@ApiOperation(value = "普通用户登录", notes = "登录方法")
|
|
@ApiOperation(value = "普通用户登录", notes = "登录方法")
|
|
- @RequestMapping("login")
|
|
|
|
|
|
+ @RequestMapping("/login")
|
|
@ResponseBody
|
|
@ResponseBody
|
|
public HttpRespMsg sysLogin(User user, HttpServletRequest request,
|
|
public HttpRespMsg sysLogin(User user, HttpServletRequest request,
|
|
HttpServletResponse response) {
|
|
HttpServletResponse response) {
|
|
@@ -63,7 +63,7 @@ public class UserController {
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
@ApiOperation(value = "获取公司列表")
|
|
@ApiOperation(value = "获取公司列表")
|
|
- @RequestMapping("getCompanyList")
|
|
|
|
|
|
+ @RequestMapping("/getCompanyList")
|
|
@ResponseBody
|
|
@ResponseBody
|
|
public HttpRespMsg getCompanyList(){
|
|
public HttpRespMsg getCompanyList(){
|
|
HttpRespMsg msg = new HttpRespMsg();
|
|
HttpRespMsg msg = new HttpRespMsg();
|
|
@@ -77,7 +77,7 @@ public class UserController {
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
@ApiOperation(value = "获取角色列表")
|
|
@ApiOperation(value = "获取角色列表")
|
|
- @RequestMapping("getRoleList")
|
|
|
|
|
|
+ @RequestMapping("/getRoleList")
|
|
@ResponseBody
|
|
@ResponseBody
|
|
public HttpRespMsg getRoleList(){
|
|
public HttpRespMsg getRoleList(){
|
|
HttpRespMsg msg = new HttpRespMsg();
|
|
HttpRespMsg msg = new HttpRespMsg();
|