INSERT INTO `_resource` (`accessControlTable`, `resourceHook`, `pageId`, `actionId`, `desc`, `resourceType`, `appDataSchema`, `resourceData`, `requestDemo`, `responseDemo`, `operation`, `operationByUserId`, `operationByUser`, `operationAt`) SELECT NULL, NULL, 'login', 'wxLogin', '✅微信登陆', 'service', '{}', '{\"service\": \"wechat\", \"serviceFunction\": \"login\"}', NULL, NULL, 'insert', NULL, NULL, NULL WHERE NOT EXISTS (SELECT 1 FROM `_resource` WHERE `pageId` = 'login' and `actionId` = 'wxLogin');