Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
HLS3.0-UPDATE-SQL
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
EricChen
HLS3.0-UPDATE-SQL
Commits
d3c06b68
Commit
d3c06b68
authored
Nov 08, 2018
by
EricChen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口管理脚本
parent
65957e7e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
47 deletions
+0
-47
interface_init.sql
interface/register/interface_init.sql
+0
-0
08-interface_init.sql
manual/08-interface_init.sql
+0
-47
No files found.
interface/register/
08-
interface_init.sql
→
interface/register/interface_init.sql
View file @
d3c06b68
File moved
manual/08-interface_init.sql
deleted
100644 → 0
View file @
65957e7e
-- ----------------------------
-- 页面注册
-- ----------------------------
begin
sys_function_assign_pkg
.
service_load
(
'modules/if/IF100/if_sys_interface_header.lview'
,
'接口定义'
,
0
,
1
,
0
);
sys_function_assign_pkg
.
service_load
(
'modules/if/IF100/if_sys_interface_header_edit.lview'
,
'接口编辑'
,
0
,
1
,
0
);
sys_function_assign_pkg
.
service_load
(
'modules/if/IF200/if_sys_interface_invoke.lview'
,
'接口调用'
,
0
,
1
,
0
);
sys_function_assign_pkg
.
service_load
(
'modules/if/IF200/if_sys_interface_inbound_detail.lview'
,
'入站请求详情'
,
0
,
1
,
0
);
sys_function_assign_pkg
.
service_load
(
'modules/if/IF200/if_sys_interface_outbound_detail.lview'
,
'出站请求详情'
,
0
,
1
,
0
);
sys_function_assign_pkg
.
service_load
(
'modules/if/IF300/if_sys_oauth_client_details.lview'
,
'客户端管理'
,
0
,
1
,
0
);
sys_function_assign_pkg
.
service_load
(
'modules/if/IF300/if_sys_oauth_client_details_edit.lview'
,
'客户端管理编辑'
,
0
,
1
,
0
);
sys_function_assign_pkg
.
service_load
(
'modules/if/IF300/if_sys_oauth_client_grant_type_select.lview'
,
'客户端授权类型'
,
0
,
1
,
0
);
sys_function_assign_pkg
.
service_load
(
'modules/if/IF300/if_sys_oauth_client_role_select.lview'
,
'客户端角色选择'
,
0
,
1
,
0
);
sys_function_assign_pkg
.
service_load
(
'modules/if/IF400/if_sys_token_logs.lview'
,
'授权管理'
,
0
,
1
,
0
);
-- ----------------------------
-- 功能定义
-- ----------------------------
sys_function_assign_pkg
.
func_load
(
'IF100'
,
'接口定义'
,
''
,
'F'
,
'modules/if/IF100/if_sys_interface_header.lview'
,
'10'
,
'ZHS'
);
sys_function_assign_pkg
.
func_load
(
'IF100'
,
'接口定义'
,
''
,
'F'
,
'modules/if/IF100/if_sys_interface_header.lview'
,
'10'
,
'US'
);
sys_function_assign_pkg
.
func_load
(
'IF200'
,
'调用记录'
,
''
,
'F'
,
'modules/if/IF200/if_sys_interface_invoke.lview'
,
'20'
,
'ZHS'
);
sys_function_assign_pkg
.
func_load
(
'IF200'
,
'调用记录'
,
''
,
'F'
,
'modules/if/IF200/if_sys_interface_invoke.lview'
,
'20'
,
'US'
);
sys_function_assign_pkg
.
func_load
(
'IF300'
,
'客户端管理'
,
''
,
'F'
,
'modules/if/IF300/if_sys_oauth_client_details.lview'
,
'30'
,
'ZHS'
);
sys_function_assign_pkg
.
func_load
(
'IF300'
,
'客户端管理'
,
''
,
'F'
,
'modules/if/IF300/if_sys_oauth_client_details.lview'
,
'30'
,
'US'
);
sys_function_assign_pkg
.
func_load
(
'IF400'
,
'授权管理'
,
''
,
'F'
,
'modules/if/IF400/if_sys_token_logs.lview'
,
'40'
,
'ZHS'
);
sys_function_assign_pkg
.
func_load
(
'IF400'
,
'授权管理'
,
''
,
'F'
,
'modules/if/IF400/if_sys_token_logs.lview'
,
'40'
,
'US'
);
-- ----------------------------
-- 创建菜单
-- ----------------------------
SYS_LOAD_SYS_FUNCTION_GRP_PKG
.
SYS_FUNCTION_GROUP_LOAD
(
p_function_group_code
=>
'ITFC'
,
p_function_group_level
=>
1
,
p_language_code
=>
'ZHS'
,
p_function_group_name
=>
'接口管理'
,
p_description
=>
'接口管理'
,
p_enabled_flag
=>
'Y'
,
P_USER_ID
=>-
1
);
SYS_LOAD_SYS_FUNCTION_GRP_PKG
.
SYS_FUNCTION_GROUP_LOAD
(
p_function_group_code
=>
'IFC'
,
p_function_group_level
=>
2
,
p_language_code
=>
'ZHS'
,
p_function_group_name
=>
'接口管理'
,
p_description
=>
'接口管理'
,
p_enabled_flag
=>
'Y'
,
P_USER_ID
=>-
1
);
--菜单分配功能
SYS_LOAD_SYS_FUNCTION_GRP_PKG
.
SYS_FUNCTION_GROUP_ITEM_LOAD
(
p_function_group_code
=>
'IFC'
,
p_function_code
=>
'IF100'
,
p_enabled_flag
=>
'Y'
,
P_USER_ID
=>-
1
);
SYS_LOAD_SYS_FUNCTION_GRP_PKG
.
SYS_FUNCTION_GROUP_ITEM_LOAD
(
p_function_group_code
=>
'IFC'
,
p_function_code
=>
'IF200'
,
p_enabled_flag
=>
'Y'
,
P_USER_ID
=>-
1
);
SYS_LOAD_SYS_FUNCTION_GRP_PKG
.
SYS_FUNCTION_GROUP_ITEM_LOAD
(
p_function_group_code
=>
'IFC'
,
p_function_code
=>
'IF300'
,
p_enabled_flag
=>
'Y'
,
P_USER_ID
=>-
1
);
SYS_LOAD_SYS_FUNCTION_GRP_PKG
.
SYS_FUNCTION_GROUP_ITEM_LOAD
(
p_function_group_code
=>
'IFC'
,
p_function_code
=>
'IF400'
,
p_enabled_flag
=>
'Y'
,
P_USER_ID
=>-
1
);
-- ----------------------------
-- 角色分配菜单
-- ----------------------------
SYS_LOAD_SYS_DATA_PKG
.
load_role_function_group
(
p_role_code
=>
'ADMIN'
,
p_function_group_code
=>
'ITFC'
,
p_layout_sequence
=>
40
,
p_enabled_flag
=>
'Y'
,
p_parent_function_group_code
=>
'ITFC'
,
p_parent_layout_sequence
=>
40
,
P_USER_ID
=>-
1
);
SYS_LOAD_SYS_DATA_PKG
.
load_role_function_group
(
p_role_code
=>
'ADMIN'
,
p_function_group_code
=>
'IFC'
,
p_layout_sequence
=>
10
,
p_enabled_flag
=>
'Y'
,
p_parent_function_group_code
=>
'ITFC'
,
p_parent_layout_sequence
=>
40
,
P_USER_ID
=>-
1
);
end
;
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment