INSERT INTO `sys_menu`
(`id`, `parent_id`, `tree_path`, `name`, `type`, `route_name`, `route_path`, `component`, `perm`, `always_show`, `keep_alive`, `visible`, `sort`, `icon`, `redirect`, `create_time`, `update_time`, `params`)
VALUES
(12010, 1200, '0,1100,1200', '提现申请', 'C', 'ProxyDistributionWithdraw', 'distribution-withdraw', 'proxy/distribution-withdraw/index', NULL, 0, 1, 1, 20, 'Wallet', NULL, NOW(), NOW(), NULL),
(12011, 12010, '0,1100,1200,12010', '提现申请查询', 'B', NULL, '', NULL, 'proxy:distribution:withdraw:list', NULL, NULL, 1, 1, '', NULL, NOW(), NOW(), NULL),
(12012, 12010, '0,1100,1200,12010', '提现申请审核', 'B', NULL, '', NULL, 'proxy:distribution:withdraw:audit', NULL, NULL, 1, 2, '', NULL, NOW(), NOW(), NULL),
(12013, 12010, '0,1100,1200,12010', '提现确认打款', 'B', NULL, '', NULL, 'proxy:distribution:withdraw:pay', NULL, NULL, 1, 3, '', NULL, NOW(), NOW(), NULL)
ON DUPLICATE KEY UPDATE
`name` = VALUES(`name`),
`route_path` = VALUES(`route_path`),
`component` = VALUES(`component`),
`perm` = VALUES(`perm`),
`sort` = VALUES(`sort`),
`icon` = VALUES(`icon`),
`update_time` = NOW();
