From 22573fdae792aca2ea652deb53a875a8aed88cf8 Mon Sep 17 00:00:00 2001 From: fengshuonan Date: Fri, 18 Jun 2021 17:47:00 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=907.0.4=E3=80=91=E6=9B=B4=E6=96=B0sql?= =?UTF-8?q?=EF=BC=8C=E6=96=B0=E5=A2=9E=E5=87=A0=E4=B8=AA=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mysql/V7.0.4_20210519_1500__init.sql | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/src/main/resources/db/migration/mysql/V7.0.4_20210519_1500__init.sql b/src/main/resources/db/migration/mysql/V7.0.4_20210519_1500__init.sql index c8419c8c..0598de2b 100644 --- a/src/main/resources/db/migration/mysql/V7.0.4_20210519_1500__init.sql +++ b/src/main/resources/db/migration/mysql/V7.0.4_20210519_1500__init.sql @@ -73,9 +73,9 @@ INSERT INTO `api_resource` VALUES (1401840751835541505, 1401840671212630017, 'PO INSERT INTO `api_resource` VALUES (1402074659867856898, 1401840671212630017, 'POST', '删除注册用户', 'guns$customer_manage$delete', '{\"Authorization\":\"eyJhbGciOiJIUzUxMiJ9.eyJ1c2VySWQiOjEzMzk1NTA0Njc5Mzk2MzkyOTksImFjY291bnQiOiJhZG1pbiIsInV1aWQiOiIzZmI4ODA5OC1kMzRkLTRiOWYtOTVhYy0yZGU3MTc4N2JhZWQiLCJyZW1lbWJlck1lIjpmYWxzZSwiZXhwaXJhdGlvbkRhdGUiOjE2MjM4MDYwODczMTEsImNhVG9rZW4iOm51bGwsIm90aGVycyI6bnVsbCwic3ViIjoiMTMzOTU1MDQ2NzkzOTYzOTI5OSIsImlhdCI6MTYyMzIwMTI4NywiZXhwIjoxNjIzODA2MDg3fQ.7kCWIwDZw_Uo3PDTB3-ciU4eslnHkkfB-mm4MMp7q1CGMSpwJONZHcpTlq-n0Hy3_W3VHVVCDka87378WmI1rw\"}', '{\"customerId\":\"1402465414545412098\"}', '{\"success\":true,\"code\":\"00000\",\"message\":\"请求成功\",\"data\":null}', 6.00, NULL, NULL, NULL, NULL); INSERT INTO `api_resource` VALUES (1401840787965276162, 1401840671212630017, 'POST', '登录', 'guns$customer$login', '{\"Authorization\":\"eyJhbGciOiJIUzUxMiJ9.eyJ1c2VySWQiOjEzMzk1NTA0Njc5Mzk2MzkyOTksImFjY291bnQiOiJhZG1pbiIsInV1aWQiOiI1MjBlOGJhMC04YzMzLTRkYWYtYmM5MC1kM2M5MTA1YWYxMzkiLCJyZW1lbWJlck1lIjpmYWxzZSwiZXhwaXJhdGlvbkRhdGUiOjE2MjM4Mjg5NDEyNTcsImNhVG9rZW4iOm51bGwsIm90aGVycyI6bnVsbCwic3ViIjoiMTMzOTU1MDQ2NzkzOTYzOTI5OSIsImlhdCI6MTYyMzIyNDE0MSwiZXhwIjoxNjIzODI4OTQxfQ.Yn5xYYwqVtvXIjzmkNc5J8y6vzT34obr_bsKyoN9cfXIXCut4qhq55s80BSvI320YfuXGyByofSejIr-wOJ2uA\"}', '{\"account\":\"sudie\",\"password\":\"123456\"}', '{\"success\":true,\"code\":\"00000\",\"message\":\"请求成功\",\"data\":{\"loginUser\":{\"userId\":\"1402467874357907457\",\"account\":\"sudie\",\"superAdmin\":null,\"simpleUserInfo\":{\"nickName\":\"sudie\",\"realName\":null,\"avatar\":\"10000\",\"birthday\":null,\"sex\":null,\"email\":\"suewangyihe0@163.com\",\"phone\":null,\"tel\":null},\"simpleRoleInfoList\":null,\"organizationId\":null,\"positionId\":null,\"dataScopeTypeEnums\":null,\"dataScopeUserIds\":null,\"dataScopeOrganizationIds\":null,\"resourceUrls\":null,\"buttonCodes\":null,\"loginTime\":\"2021-06-09 15:35:52\",\"token\":\"eyJhbGciOiJIUzUxMiJ9.eyJ1c2VySWQiOjE0MDI0Njc4NzQzNTc5MDc0NTcsImFjY291bnQiOiJzdWRpZSIsInV1aWQiOiJiZDVmODBjMy1hZWIzLTQ5YjctYWI3YS04M2U0MTU1NjAyZjYiLCJyZW1lbWJlck1lIjp0cnVlLCJleHBpcmF0aW9uRGF0ZSI6MTYyMzgyODk1MjMyMiwiY2FUb2tlbiI6bnVsbCwib3RoZXJzIjpudWxsLCJzdWIiOiIxNDAyNDY3ODc0MzU3OTA3NDU3IiwiaWF0IjoxNjIzMjI0MTUyLCJleHAiOjE2MjM4Mjg5NTJ9.dmn_SMEc08hepTlnODaVvHs02l-s1ztmn5E1r7b-kVAh2AyiAAo90wXqKYc1hcqgWVJZ12opWHRxlC8Ki6c44g\",\"otherInfos\":null,\"wsUrl\":\"\",\"tranLanguageCode\":\"chinese\",\"tenantCode\":null},\"token\":\"eyJhbGciOiJIUzUxMiJ9.eyJ1c2VySWQiOjE0MDI0Njc4NzQzNTc5MDc0NTcsImFjY291bnQiOiJzdWRpZSIsInV1aWQiOiJiZDVmODBjMy1hZWIzLTQ5YjctYWI3YS04M2U0MTU1NjAyZjYiLCJyZW1lbWJlck1lIjp0cnVlLCJleHBpcmF0aW9uRGF0ZSI6MTYyMzgyODk1MjMyMiwiY2FUb2tlbiI6bnVsbCwib3RoZXJzIjpudWxsLCJzdWIiOiIxNDAyNDY3ODc0MzU3OTA3NDU3IiwiaWF0IjoxNjIzMjI0MTUyLCJleHAiOjE2MjM4Mjg5NTJ9.dmn_SMEc08hepTlnODaVvHs02l-s1ztmn5E1r7b-kVAh2AyiAAo90wXqKYc1hcqgWVJZ12opWHRxlC8Ki6c44g\",\"expireAt\":\"1623828952322\",\"ssoLogin\":null,\"ssoLoginCode\":null}}', 3.00, NULL, NULL, NULL, NULL); INSERT INTO `api_resource` VALUES (1405791882135666690, 1401840671212630017, 'POST', '校验token是否正确', 'guns$login$validate_token', '{\"Authorization\":\"eyJhbGciOiJIUzUxMiJ9.eyJ1c2VySWQiOjEzMzk1NTA0Njc5Mzk2MzkyOTksImFjY291bnQiOiJhZG1pbiIsInV1aWQiOiJkMTE0ZGE2OS1iZDcwLTQ3MzItOWE0Mi0wY2IzNTg0ZmY1MjIiLCJyZW1lbWJlck1lIjpmYWxzZSwiZXhwaXJhdGlvbkRhdGUiOjE2MjQ2MDY2MDE2NDQsImNhVG9rZW4iOm51bGwsIm90aGVycyI6bnVsbCwic3ViIjoiMTMzOTU1MDQ2NzkzOTYzOTI5OSIsImlhdCI6MTYyNDAwMTgwMSwiZXhwIjoxNjI0NjA2NjAxfQ.2iMhk-9afcuMSvdTHVEGoDSj6ESPACThLHtPo5aFw_QRpSCV_18i6-s6hcJ_CJLzfZ-E49Cz2wR6VdAn7mcRNw\"}', '{\"token\":\"eyJhbGciOiJIUzUxMiJ9.eyJ1c2VySWQiOjEzMzk1NTA0Njc5Mzk2MzkyOTksImFjY291bnQiOiJhZG1pbiIsInV1aWQiOiJkMTE0ZGE2OS1iZDcwLTQ3MzItOWE0Mi0wY2IzNTg0ZmY1MjIiLCJyZW1lbWJlck1lIjpmYWxzZSwiZXhwaXJhdGlvbkRhdGUiOjE2MjQ2MDY2MDE2NDQsImNhVG9rZW4iOm51bGwsIm90aGVycyI6bnVsbCwic3ViIjoiMTMzOTU1MDQ2NzkzOTYzOTI5OSIsImlhdCI6MTYyNDAwMTgwMSwiZXhwIjoxNjI0NjA2NjAxfQ.2iMhk-9afcuMSvdTHVEGoDSj6ESPACThLHtPo5aFw_QRpSCV_18i6-s6hcJ_CJLzfZ-E49Cz2wR6VdAn7mcRNw\"}', '{\"success\":true,\"code\":\"00000\",\"message\":\"请求成功\",\"data\":true}', 7.00, NULL, NULL, NULL, NULL); -INSERT INTO `api_resource` VALUES (1405821024314998786, 1405820842689052674, 'GET', '修改个人密码', 'guns$customer_info$update_password', NULL, NULL, NULL, 2.00, NULL, NULL, NULL, NULL); +INSERT INTO `api_resource` VALUES (1405821024314998786, 1405820842689052674, 'POST', '修改个人密码', 'guns$customer_info$update_password', '{\"Authorization\":\"eyJhbGciOiJIUzUxMiJ9.eyJ1c2VySWQiOjEzMzk1NTA0Njc5Mzk2MzkyOTksImFjY291bnQiOiJhZG1pbiIsInV1aWQiOiI5NGRlMmUzMS05NTQyLTQ4NjAtOWJjOS03ZjIzZDhiOTZhZjEiLCJyZW1lbWJlck1lIjpmYWxzZSwiZXhwaXJhdGlvbkRhdGUiOjE2MjQ2MTM5MTQ3MzksImNhVG9rZW4iOm51bGwsIm90aGVycyI6bnVsbCwic3ViIjoiMTMzOTU1MDQ2NzkzOTYzOTI5OSIsImlhdCI6MTYyNDAwOTExNCwiZXhwIjoxNjI0NjEzOTE0fQ.YViKkeCQkbXPr0tlzOOAdZwCkdzaP5_cNTYoW9CkvFUIqvnPzqhF5fwXhg1PZ3ZEpD3dPov3XydpI72IbNQc6Q\"}', '{\"customerId\":\"1405821429119860738\",\"newPassword\":\"1234567\",\"oldPassword\":\"123456\"}', '{\"success\":true,\"code\":\"00000\",\"message\":\"请求成功\",\"data\":null}', 2.00, NULL, NULL, NULL, NULL); INSERT INTO `api_resource` VALUES (1405821040807002114, 1405820842689052674, 'GET', '获取个人信息', 'guns$customer_info$get_person_info', '{\"Authorization\":\"eyJhbGciOiJIUzUxMiJ9.eyJ1c2VySWQiOjEzMzk1NTA0Njc5Mzk2MzkyOTksImFjY291bnQiOiJhZG1pbiIsInV1aWQiOiI5NGRlMmUzMS05NTQyLTQ4NjAtOWJjOS03ZjIzZDhiOTZhZjEiLCJyZW1lbWJlck1lIjpmYWxzZSwiZXhwaXJhdGlvbkRhdGUiOjE2MjQ2MTM5MTQ3MzksImNhVG9rZW4iOm51bGwsIm90aGVycyI6bnVsbCwic3ViIjoiMTMzOTU1MDQ2NzkzOTYzOTI5OSIsImlhdCI6MTYyNDAwOTExNCwiZXhwIjoxNjI0NjEzOTE0fQ.YViKkeCQkbXPr0tlzOOAdZwCkdzaP5_cNTYoW9CkvFUIqvnPzqhF5fwXhg1PZ3ZEpD3dPov3XydpI72IbNQc6Q\"}', '{\"customerId\":\"1405821429119860738\"}', '{\"success\":true,\"code\":\"00000\",\"message\":\"请求成功\",\"data\":{\"customerId\":\"1405821429119860738\",\"account\":\"abcd\",\"nickName\":\"嘎嘎\",\"email\":\"sn93@qq.com\",\"telephone\":null,\"avatar\":\"10000\",\"avatarObjectUrl\":\"http://223.70.201.178:11080/sysFileInfo/previewByObjectName?fileBucket=customer-bucket&fileObjectName=defaultAvatar.png\",\"score\":0}}', 1.00, NULL, NULL, NULL, NULL); -INSERT INTO `api_resource` VALUES (1405821056158154754, 1405820842689052674, 'GET', '修改个人头像', 'guns$customer_info$update_avatar', NULL, NULL, NULL, 3.00, NULL, NULL, NULL, NULL); +INSERT INTO `api_resource` VALUES (1405821056158154754, 1405820842689052674, 'POST', '修改个人头像', 'guns$customer_info$update_avatar', '{\"Authorization\":\"eyJhbGciOiJIUzUxMiJ9.eyJ1c2VySWQiOjEzMzk1NTA0Njc5Mzk2MzkyOTksImFjY291bnQiOiJhZG1pbiIsInV1aWQiOiI5NGRlMmUzMS05NTQyLTQ4NjAtOWJjOS03ZjIzZDhiOTZhZjEiLCJyZW1lbWJlck1lIjpmYWxzZSwiZXhwaXJhdGlvbkRhdGUiOjE2MjQ2MTM5MTQ3MzksImNhVG9rZW4iOm51bGwsIm90aGVycyI6bnVsbCwic3ViIjoiMTMzOTU1MDQ2NzkzOTYzOTI5OSIsImlhdCI6MTYyNDAwOTExNCwiZXhwIjoxNjI0NjEzOTE0fQ.YViKkeCQkbXPr0tlzOOAdZwCkdzaP5_cNTYoW9CkvFUIqvnPzqhF5fwXhg1PZ3ZEpD3dPov3XydpI72IbNQc6Q\"}', '{\"customerId\":\"1405821429119860738\",\"avatar\":\"10000\"}', '{\"success\":true,\"code\":\"00000\",\"message\":\"请求成功\",\"data\":null}', 3.00, NULL, NULL, NULL, NULL); -- ---------------------------- -- Table structure for api_resource_field @@ -267,24 +267,24 @@ INSERT INTO `api_resource_field` VALUES (1405791882202775555, 140579188213566669 INSERT INTO `api_resource_field` VALUES (1405791882202775556, 1405791882135666690, 'response', NULL, 'success', 'string', 'N', NULL, NULL, NULL, NULL, NULL); INSERT INTO `api_resource_field` VALUES (1405791882202775557, 1405791882135666690, 'response', NULL, 'data', 'string', 'N', NULL, NULL, NULL, NULL, NULL); INSERT INTO `api_resource_field` VALUES (1405791882202775558, 1405791882135666690, 'response', NULL, 'code', 'string', 'N', NULL, NULL, NULL, NULL, NULL); -INSERT INTO `api_resource_field` VALUES (1405821024314998787, 1405821024314998786, 'request', NULL, 'newPassword', 'string', 'Y', '新密码不能为空', NULL, NULL, NULL, NULL); -INSERT INTO `api_resource_field` VALUES (1405821024314998788, 1405821024314998786, 'request', NULL, 'customerId', 'string', 'Y', '用户id不能为空', NULL, NULL, NULL, NULL); -INSERT INTO `api_resource_field` VALUES (1405821024314998789, 1405821024314998786, 'request', NULL, 'oldPassword', 'string', 'Y', '原密码不能为空', NULL, NULL, NULL, NULL); -INSERT INTO `api_resource_field` VALUES (1405821024314998791, 1405821024314998786, 'response', NULL, 'data', 'string', 'N', '', NULL, NULL, NULL, NULL); -INSERT INTO `api_resource_field` VALUES (1405821024314998792, 1405821024314998786, 'response', NULL, 'success', 'string', 'N', '', NULL, NULL, NULL, NULL); -INSERT INTO `api_resource_field` VALUES (1405821024314998793, 1405821024314998786, 'response', NULL, 'code', 'string', 'N', '', NULL, NULL, NULL, NULL); -INSERT INTO `api_resource_field` VALUES (1405821024314998794, 1405821024314998786, 'response', NULL, 'message', 'string', 'N', '', NULL, NULL, NULL, NULL); -INSERT INTO `api_resource_field` VALUES (1405821056170737667, 1405821056158154754, 'request', NULL, 'avatar', 'string', 'Y', '用户头像', NULL, NULL, NULL, NULL); -INSERT INTO `api_resource_field` VALUES (1405821056170737668, 1405821056158154754, 'request', NULL, 'customerId', 'string', 'Y', '用户id不能为空', NULL, NULL, NULL, NULL); -INSERT INTO `api_resource_field` VALUES (1405821056170737670, 1405821056158154754, 'response', NULL, 'data', 'string', 'N', '', NULL, NULL, NULL, NULL); -INSERT INTO `api_resource_field` VALUES (1405821056170737671, 1405821056158154754, 'response', NULL, 'message', 'string', 'N', '', NULL, NULL, NULL, NULL); -INSERT INTO `api_resource_field` VALUES (1405821056170737672, 1405821056158154754, 'response', NULL, 'code', 'string', 'N', '', NULL, NULL, NULL, NULL); -INSERT INTO `api_resource_field` VALUES (1405821056170737673, 1405821056158154754, 'response', NULL, 'success', 'string', 'N', '', NULL, NULL, NULL, NULL); -INSERT INTO `api_resource_field` VALUES (1405821131194253319, 1405821040807002114, 'request', '主键id', 'customerId', 'string', 'Y', '主键id不能为空', NULL, NULL, NULL, NULL); -INSERT INTO `api_resource_field` VALUES (1405821131194253326, 1405821040807002114, 'response', NULL, 'code', 'string', 'N', '', NULL, NULL, NULL, NULL); -INSERT INTO `api_resource_field` VALUES (1405821131194253327, 1405821040807002114, 'response', NULL, 'data', 'string', 'N', '', NULL, NULL, NULL, NULL); -INSERT INTO `api_resource_field` VALUES (1405821131194253328, 1405821040807002114, 'response', NULL, 'success', 'string', 'N', '', NULL, NULL, NULL, NULL); -INSERT INTO `api_resource_field` VALUES (1405821131194253329, 1405821040807002114, 'response', NULL, 'message', 'string', 'N', '', NULL, NULL, NULL, NULL); +INSERT INTO `api_resource_field` VALUES (1405823399977263110, 1405821040807002114, 'request', '主键id', 'customerId', 'string', 'Y', '主键id不能为空', NULL, NULL, NULL, NULL); +INSERT INTO `api_resource_field` VALUES (1405823399985651721, 1405821040807002114, 'response', NULL, 'message', 'string', 'N', '', NULL, NULL, NULL, NULL); +INSERT INTO `api_resource_field` VALUES (1405823399985651722, 1405821040807002114, 'response', NULL, 'success', 'string', 'N', '', NULL, NULL, NULL, NULL); +INSERT INTO `api_resource_field` VALUES (1405823399985651723, 1405821040807002114, 'response', NULL, 'data', 'string', 'N', '', NULL, NULL, NULL, NULL); +INSERT INTO `api_resource_field` VALUES (1405823399985651724, 1405821040807002114, 'response', NULL, 'code', 'string', 'N', '', NULL, NULL, NULL, NULL); +INSERT INTO `api_resource_field` VALUES (1405823441484095489, 1405821024314998786, 'request', NULL, 'customerId', 'string', 'Y', '用户id不能为空', NULL, NULL, NULL, NULL); +INSERT INTO `api_resource_field` VALUES (1405823441484095490, 1405821024314998786, 'request', NULL, 'newPassword', 'string', 'Y', '新密码不能为空', NULL, NULL, NULL, NULL); +INSERT INTO `api_resource_field` VALUES (1405823441484095492, 1405821024314998786, 'request', NULL, 'oldPassword', 'string', 'Y', '原密码不能为空', NULL, NULL, NULL, NULL); +INSERT INTO `api_resource_field` VALUES (1405823441484095493, 1405821024314998786, 'response', NULL, 'success', 'string', 'N', '', NULL, NULL, NULL, NULL); +INSERT INTO `api_resource_field` VALUES (1405823441484095494, 1405821024314998786, 'response', NULL, 'data', 'string', 'N', '', NULL, NULL, NULL, NULL); +INSERT INTO `api_resource_field` VALUES (1405823441484095495, 1405821024314998786, 'response', NULL, 'message', 'string', 'N', '', NULL, NULL, NULL, NULL); +INSERT INTO `api_resource_field` VALUES (1405823441484095496, 1405821024314998786, 'response', NULL, 'code', 'string', 'N', '', NULL, NULL, NULL, NULL); +INSERT INTO `api_resource_field` VALUES (1405823465794281474, 1405821056158154754, 'request', NULL, 'customerId', 'string', 'Y', '用户id不能为空', NULL, NULL, NULL, NULL); +INSERT INTO `api_resource_field` VALUES (1405823465794281476, 1405821056158154754, 'request', NULL, 'avatar', 'string', 'Y', '用户头像', NULL, NULL, NULL, NULL); +INSERT INTO `api_resource_field` VALUES (1405823465794281478, 1405821056158154754, 'response', NULL, 'message', 'string', 'N', '', NULL, NULL, NULL, NULL); +INSERT INTO `api_resource_field` VALUES (1405823465794281479, 1405821056158154754, 'response', NULL, 'data', 'string', 'N', '', NULL, NULL, NULL, NULL); +INSERT INTO `api_resource_field` VALUES (1405823465794281480, 1405821056158154754, 'response', NULL, 'success', 'string', 'N', '', NULL, NULL, NULL, NULL); +INSERT INTO `api_resource_field` VALUES (1405823465794281481, 1405821056158154754, 'response', NULL, 'code', 'string', 'N', '', NULL, NULL, NULL, NULL); -- ---------------------------- -- Table structure for hr_organization