def logOut(): token = request.headers.get("authorization") if token: return SysUserService.logOut(token) else: return jsonify({'data': '', 'msg': '退出失败!', 'code': 500})
def addUser(): return SysUserService.addUser(request)
def updateUser(): return SysUserService.updateUser(request)
def checkUser(): return SysUserService.checkUser(request)
def delUser(): return SysUserService.delUser(request)
def getUserList(): return SysUserService.getUserList(request)
def getPermissionURL(): return SysUserService.getPermissionURL(request)
def getUser(): return SysUserService.login(request)