예제 #1
0
def logOut():
    token = request.headers.get("authorization")
    if token:
        return SysUserService.logOut(token)
    else:
        return jsonify({'data': '', 'msg': '退出失败!', 'code': 500})
예제 #2
0
def addUser():
    return SysUserService.addUser(request)
예제 #3
0
def updateUser():
    return SysUserService.updateUser(request)
예제 #4
0
def checkUser():
    return SysUserService.checkUser(request)
예제 #5
0
def delUser():
    return SysUserService.delUser(request)
예제 #6
0
def getUserList():
    return SysUserService.getUserList(request)
예제 #7
0
def getPermissionURL():
    return SysUserService.getPermissionURL(request)
예제 #8
0
def getUser():
    return SysUserService.login(request)