Пример #1
0
def edit_user_auth(user_auth_id, user_auth_data):
    """
    修改用户信息
    :param user_auth_id:
    :param user_auth_data:
    :return: Number of affected rows (Example: 0/1)
    """
    return edit(UserAuth, user_auth_id, user_auth_data)
Пример #2
0
def edit_user(user_id, user_data):
    """
    修改用户信息
    :param user_id:
    :param user_data:
    :return: Number of affected rows (Example: 0/1)
    """
    return edit(LoginUser, user_id, user_data)
Пример #3
0
def edit_blog(blog_id, blog_data):
    """
    修改博客信息
    :param blog_id:
    :param blog_data:
    :return: Number of affected rows (Example: 0/1)
    """
    return edit(Blog, blog_id, blog_data)
Пример #4
0
def edit_blog(blog_id, blog_data):
    """
    修改博客信息
    :param blog_id:
    :param blog_data:
    :return: Number of affected rows (Example: 0/1)
    """
    return edit(Blog, blog_id, blog_data)
Пример #5
0
def edit_author(author_id, author_data):
    """
    修改博客信息
    :param author_id:
    :param author_data:
    :return: Number of affected rows (Example: 0/1)
    """
    return edit(Author, author_id, author_data)
Пример #6
0
def edit_user(user_id, user_data):
    """
    修改用户信息
    :param user_id:
    :param user_data:
    :return: Number of affected rows (Example: 0/1)
    """
    return edit(LoginUser, user_id, user_data)
Пример #7
0
def edit_user_auth(user_auth_id, user_auth_data):
    """
    修改用户信息
    :param user_auth_id:
    :param user_auth_data:
    :return: Number of affected rows (Example: 0/1)
    """
    return edit(UserAuth, user_auth_id, user_auth_data)
Пример #8
0
def edit_author(author_id, author_data):
    """
    修改博客信息
    :param author_id:
    :param author_data:
    :return: Number of affected rows (Example: 0/1)
    """
    return edit(Author, author_id, author_data)