Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
A
auth-master
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Members
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
吴超
auth-master
Commits
b8b89203
Commit
b8b89203
authored
Mar 16, 2026
by
周海峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
f76d107a
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
67 行增加
和
0 行删除
+67
-0
doc/sql/update.sql
+67
-0
没有找到文件。
doc/sql/update.sql
View file @
b8b89203
...
...
@@ -67,3 +67,70 @@ SET wechat_num = (SELECT t.num
ALTER
TABLE
`platform_auth`
.
`platform_applications`
ADD
UNIQUE
INDEX
`uni_appid`
(
`appid`
)
COMMENT
'应用id'
,
ADD
UNIQUE
INDEX
`uni_mailtype`
(
`mailtype`
)
COMMENT
'应用待办标识'
;
CREATE
TABLE
`platform_applications_group`
(
`id`
int
NOT
NULL
AUTO_INCREMENT
COMMENT
'主键'
,
`group_name`
varchar
(
255
)
CHARACTER
SET
utf8mb4
COLLATE
utf8mb4_general_ci
DEFAULT
NULL
COMMENT
'组名'
,
`group_code`
varchar
(
10
)
CHARACTER
SET
utf8mb4
COLLATE
utf8mb4_general_ci
DEFAULT
NULL
COMMENT
'编码'
,
`sort_index`
int
DEFAULT
NULL
COMMENT
'排序'
,
`create_time`
datetime
DEFAULT
NULL
COMMENT
'创建时间'
,
`update_by`
varchar
(
32
)
CHARACTER
SET
utf8mb4
COLLATE
utf8mb4_general_ci
DEFAULT
NULL
COMMENT
'更新人'
,
PRIMARY
KEY
(
`id`
)
USING
BTREE
,
UNIQUE
KEY
`group_code_index`
(
`group_code`
)
USING
BTREE
COMMENT
'编码'
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
30
DEFAULT
CHARSET
=
utf8mb4
COLLATE
=
utf8mb4_general_ci
COMMENT
=
'应用组别'
;
INSERT
INTO
`platform_auth`
.
`platform_applications_group`
(
`id`
,
`group_name`
,
`group_code`
,
`sort_index`
,
`create_time`
,
`update_by`
)
VALUES
(
28
,
'员工服务'
,
'GRP009'
,
1
,
'2026-01-14 10:20:12'
,
NULL
);
INSERT
INTO
`platform_auth`
.
`platform_applications_group`
(
`id`
,
`group_name`
,
`group_code`
,
`sort_index`
,
`create_time`
,
`update_by`
)
VALUES
(
29
,
'综合办公'
,
'GRP010'
,
2
,
'2026-01-14 10:20:44'
,
NULL
);
-- # 应用信息
INSERT
INTO
`platform_auth`
.
`platform_applications`
(
`id`
,
`title`
,
`img`
,
`href`
,
`addtime`
,
`tishi`
,
`appid`
,
`secret`
,
`databasename`
,
`databasepassword`
,
`databasecon`
,
`qyflag`
,
`num`
,
`openmail`
,
`mailtype`
,
`group_code`
,
`wechat_url`
,
`wechat_num`
)
VALUES
(
59
,
'观影劵'
,
'http://demo.docmis.cn:40103/filemanager/adv/1770101004859.png'
,
NULL
,
'2026-02-03 14:43:32'
,
NULL
,
'110002'
,
'MTEwMDI='
,
NULL
,
NULL
,
NULL
,
'1'
,
'25'
,
0
,
NULL
,
'GRP009'
,
'?https://open.weixin.qq.com/connect/oauth2/authorize?appid=ww414c45c76e44693c&redirect_uri=https://tech.sy-metro.com:8020/happy_birthday/f/enterprisewechatlogin/index&response_type=code&scope=snsapi_userinfo&agentid=1000047&state=/a/mobile/index#wechat_redirect'
,
'3'
);
INSERT
INTO
`platform_auth`
.
`platform_applications`
(
`id`
,
`title`
,
`img`
,
`href`
,
`addtime`
,
`tishi`
,
`appid`
,
`secret`
,
`databasename`
,
`databasepassword`
,
`databasecon`
,
`qyflag`
,
`num`
,
`openmail`
,
`mailtype`
,
`group_code`
,
`wechat_url`
,
`wechat_num`
)
VALUES
(
52
,
'菜谱管理'
,
'http://demo.docmis.cn:40103/filemanager/adv/1768357393388.png'
,
NULL
,
'2025-12-12 13:46:58'
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
,
'1'
,
'7'
,
0
,
NULL
,
'GRP009'
,
'https://nw.sy-metro.com:6104/recipes_phone.html'
,
'1'
);
INSERT
INTO
`platform_auth`
.
`platform_applications`
(
`id`
,
`title`
,
`img`
,
`href`
,
`addtime`
,
`tishi`
,
`appid`
,
`secret`
,
`databasename`
,
`databasepassword`
,
`databasecon`
,
`qyflag`
,
`num`
,
`openmail`
,
`mailtype`
,
`group_code`
,
`wechat_url`
,
`wechat_num`
)
VALUES
(
62
,
'商业经营金点子'
,
'http://demo.docmis.cn:40103/filemanager/adv/1770109218268.png'
,
NULL
,
'2026-02-03 16:55:34'
,
NULL
,
'110007'
,
'MTEwMDc='
,
NULL
,
NULL
,
NULL
,
'1'
,
'100'
,
0
,
NULL
,
'GRP010'
,
'https://open.weixin.qq.com/connect/oauth2/authorize?appid=ww414c45c76e44693c&redirect_uri=https://maintain.sy-metro.com:10559/?a=1&response_type=code&scope=snsapi_userinfo&state=sate#wechat_redirect'
,
NULL
);
INSERT
INTO
`platform_auth`
.
`platform_applications`
(
`id`
,
`title`
,
`img`
,
`href`
,
`addtime`
,
`tishi`
,
`appid`
,
`secret`
,
`databasename`
,
`databasepassword`
,
`databasecon`
,
`qyflag`
,
`num`
,
`openmail`
,
`mailtype`
,
`group_code`
,
`wechat_url`
,
`wechat_num`
)
VALUES
(
58
,
'职工生日券'
,
'http://demo.docmis.cn:40103/filemanager/adv/1770097950798.png'
,
NULL
,
'2026-02-03 13:53:13'
,
NULL
,
'110001'
,
'MTEwMDE='
,
NULL
,
NULL
,
NULL
,
'1'
,
'24'
,
0
,
NULL
,
'GRP009'
,
'https://open.weixin.qq.com/connect/oauth2/authorize?appid=ww414c45c76e44693c&redirect_uri=https://tech.sy-metro.com:8080/happy_birthday/f/enterprisewechatlogin/index&response_type=code&scope=snsapi_userinfo&agentid=1000027&state=/a/mobile/index#wechat_redirect'
,
'2'
);
INSERT
INTO
`platform_auth`
.
`platform_applications`
(
`id`
,
`title`
,
`img`
,
`href`
,
`addtime`
,
`tishi`
,
`appid`
,
`secret`
,
`databasename`
,
`databasepassword`
,
`databasecon`
,
`qyflag`
,
`num`
,
`openmail`
,
`mailtype`
,
`group_code`
,
`wechat_url`
,
`wechat_num`
)
VALUES
(
60
,
'普法课堂'
,
'http://demo.docmis.cn:40103/filemanager/adv/1770101066866.png'
,
NULL
,
'2026-02-03 14:44:45'
,
NULL
,
'110003'
,
'MTEwMDM='
,
NULL
,
NULL
,
NULL
,
'1'
,
'26'
,
0
,
NULL
,
'GRP010'
,
'https://open.weixin.qq.com/connect/oauth2/authorize?appid=ww414c45c76e44693c&redirect_uri=https://tech.sy-metro.com:8080/law/f/enterprisewechatlogin/index&response_type=code&scope=snsapi_userinfo&agentid=1000075&state=/law/law/index#wechat_redirect'
,
NULL
);
INSERT
INTO
`platform_auth`
.
`platform_applications`
(
`id`
,
`title`
,
`img`
,
`href`
,
`addtime`
,
`tishi`
,
`appid`
,
`secret`
,
`databasename`
,
`databasepassword`
,
`databasecon`
,
`qyflag`
,
`num`
,
`openmail`
,
`mailtype`
,
`group_code`
,
`wechat_url`
,
`wechat_num`
)
VALUES
(
61
,
'制度管理系统'
,
'http://demo.docmis.cn:40103/filemanager/adv/1770103115739.png'
,
NULL
,
'2026-02-03 15:18:58'
,
NULL
,
'110006'
,
'MTEwMDY='
,
NULL
,
NULL
,
NULL
,
'1'
,
'27'
,
0
,
NULL
,
'GRP010'
,
'https://statute.sy-metro.com:1029'
,
NULL
);
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论