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)
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)
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)
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)