|
|
@ -93,10 +93,11 @@ def get_power_list():
|
|
|
|
# 思路:角色表角色id->模块权限表(object_id)-> 终端权限表()
|
|
|
|
# 思路:角色表角色id->模块权限表(object_id)-> 终端权限表()
|
|
|
|
# | |
|
|
|
|
# | |
|
|
|
|
# role_id=object_id module_id=module_id
|
|
|
|
# role_id=object_id module_id=module_id
|
|
|
|
page = int(request.values.get("page"))
|
|
|
|
page = int(request.values.get("page", 1))
|
|
|
|
page_size = int(request.values.get("page_size"))
|
|
|
|
page_size = int(request.values.get("page_size", 15))
|
|
|
|
page_param = PageParam(page, page_size)
|
|
|
|
page_param = PageParam(page, page_size)
|
|
|
|
data_list = BllModuleRelation().get_role_module(page_param)
|
|
|
|
data_list = BllModuleRelation().get_role_module(page_param)
|
|
|
|
|
|
|
|
|
|
|
|
return jsonify(Utils.true_return(data=Utils.msyql_table_model(data_list)))
|
|
|
|
return jsonify(Utils.true_return(data=Utils.msyql_table_model(data_list)))
|
|
|
|
|
|
|
|
|
|
|
|
# 通过角色id查询角色列表
|
|
|
|
# 通过角色id查询角色列表
|
|
|
|