BEGIN;
INSERT INTO `wk_permission`
VALUES (1072806379288399872, '测试页面', '/test', 1, 'page:test', 'GET', 1, 0, NULL, NULL);
INSERT INTO `wk_permission`
VALUES (1072806379313565696, '测试页面-查询', '/**/test', 2, 'btn:test:query', 'GET', 1, 1072806379288399872, NULL,
        NULL);
INSERT INTO `wk_permission`
VALUES (1072806379330342912, '测试页面-添加', '/**/test', 2, 'btn:test:insert', 'POST', 2, 1072806379288399872, NULL,
        NULL);
INSERT INTO `wk_permission`
VALUES (1072806379342925824, '监控在线用户页面', '/monitor', 1, 'page:monitor:online', NULL, 2, 0, NULL, NULL);
INSERT INTO `wk_permission`
VALUES (1072806379363897344, '在线用户页面-查询', '/**/api/monitor/online/user', 2, 'btn:monitor:online:query', 'GET',
        1, 1072806379342925824, NULL, NULL);
INSERT INTO `wk_permission`
VALUES (1072806379384868864, '在线用户页面-踢出', '/**/api/monitor/online/user/kickout', 2,
        'btn:monitor:online:kickout', 'DELETE', 2, 1072806379342925824, NULL, NULL);
INSERT INTO `wk_permission`
VALUES (1072806379384868865, '用户', '/user/userList', 1, 'page:user:query', 'GET', 1, 0, NULL, NULL);
INSERT INTO `wk_permission`
VALUES (1072806379384868865, '用户', '/user/update', 1, 'page:user:update', 'POST', 1, 0, NULL, NULL);
COMMIT;

BEGIN;
INSERT INTO `wk_role`
VALUES (1072806379208708096, '管理员', '超级管理员', '2018-12-12 14:52:27', '2018-12-12 14:52:27');
INSERT INTO `wk_role`
VALUES (1072806379238068224, '普通用户', '普通用户', '2018-12-12 14:52:27', '2018-12-12 14:52:27');
COMMIT;

BEGIN;
INSERT INTO `wk_role_permission`
VALUES (1072806379208708096, 1072806379288399872);
INSERT INTO `wk_role_permission`
VALUES (1072806379208708096, 1072806379313565696);
INSERT INTO `wk_role_permission`
VALUES (1072806379208708096, 1072806379330342912);
INSERT INTO `wk_role_permission`
VALUES (1072806379208708096, 1072806379342925824);
INSERT INTO `wk_role_permission`
VALUES (1072806379208708096, 1072806379363897344);
INSERT INTO `wk_role_permission`
VALUES (1072806379208708096, 1072806379384868864);
INSERT INTO `wk_role_permission`
VALUES (1072806379238068224, 1072806379288399872);
INSERT INTO `wk_role_permission`
VALUES (1072806379238068224, 1072806379313565696);
INSERT INTO `wk_role_permission`
VALUES (1072806379208708096, 1072806379384868865);
INSERT INTO `wk_role_permission`
VALUES (1072806379208708096, 1072806379384868869);
COMMIT;

BEGIN;

INSERT INTO `wk_user` (id, username, nickname, password, email, birthday, sex, phone, status,
                       create_time, update_time, last_login_time)
VALUES (1072806377661009920,
        'admin',
        '管理员',
        '$2a$10$iH/XRNn1Y5Gcyl1iG5zCD..Qq1L2YnL6xU0XmsdxmUs5SEsU/7jVe',
        'admin@xkcoding.com',
        '1994-11-28 00:00:00', -- birthday: 785433600000 → 1994-11-28
        1,
        '17300000000',
        1,
        '2018-12-12 14:52:27', -- create_time
        '2018-12-12 14:52:27', -- update_time
        '2018-12-12 14:52:27' -- last_login_time
       );

INSERT INTO `wk_user` (id, username, nickname, password, email, birthday, sex, phone, status,
                       create_time, update_time, last_login_time)
VALUES (1072806378780889088,
        'user',
        '普通用户',
        '$2a$10$iH/XRNn1Y5Gcyl1iG5zCD..Qq1L2YnL6xU0XmsdxmUs5SEsU/7jVe',
        'user@xkcoding.com',
        '1994-11-28 00:00:00', -- birthday: 785433600000 → 1994-11-28
        1,
        '17300001111',
        1,
        '2018-12-12 14:52:27', -- create_time
        '2018-12-12 14:52:27', -- update_time
        '2018-12-12 14:52:27' -- last_login_time
       );
COMMIT;

BEGIN;
INSERT INTO `wk_role_user`
VALUES (1072806379208708096, 1072806377661009920);
INSERT INTO `wk_role_user`
VALUES (1072806379238068224, 1072806378780889088);
COMMIT;