def group_chat_log(g_name):
    """
    @brief      list group chat log
    @param      g_name String
    """
    result = wechat.db.select(Constant.TABLE_GROUP_MSG_LOG, 'RoomName', g_name)
    return jsonify({'count': len(result), 'chats': result})

    @brief      list group chat log
    @param      g_name String
    
wxbot_project_py2.7/weixin_bot.py