diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 33aed74..168f7b7 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,10 +4,7 @@
-
-
-
-
+
@@ -61,25 +58,25 @@
- {
+ "keyToString": {
+ "ApiPost:METDOD_SEND_RECORD:cloud-market-server": "{\"/apitype/standing\":[{\"url\":\"http://localhost:10008/apitype/standing\",\"header\":[{\"value\":\"\",\"type\":\"Text\",\"is_checked\":1,\"not_null\":\"1\",\"field_type\":\"string\"}],\"query\":[{\"value\":\"\",\"type\":\"Text\",\"is_checked\":1,\"not_null\":\"1\",\"field_type\":\"string\"}],\"rest\":[{\"value\":\"\",\"type\":\"Text\",\"is_checked\":1,\"not_null\":\"1\",\"field_type\":\"string\"}],\"requestBody\":\"{\\n \\\"idcard\\\": \\\"330921200301116511\\\",\\n \\\"realname\\\": \\\"王意航\\\"\\n}\",\"responseBody\":\"发送失败: http://localhost:10008/apitype/standing\\n\\nConnectException: Connection refused: connect\",\"selectedItem\":\"POST\",\"time\":{\"date\":{\"year\":2024,\"month\":9,\"day\":8},\"time\":{\"hour\":21,\"minute\":8,\"second\":37,\"nano\":929385300}}}]}",
+ "RequestMappingsPanelOrder0": "0",
+ "RequestMappingsPanelOrder1": "1",
+ "RequestMappingsPanelWidth0": "75",
+ "RequestMappingsPanelWidth1": "75",
+ "WebServerToolWindowFactoryState": "false",
+ "last_opened_file_path": "E:/桌面/cloud-market/cloud-market-server/src/main/java/com/muyu/market/controller",
+ "node.js.detected.package.eslint": "true",
+ "node.js.detected.package.tslint": "true",
+ "node.js.selected.package.eslint": "(autodetect)",
+ "node.js.selected.package.tslint": "(autodetect)",
+ "nodejs_package_manager_path": "npm",
+ "settings.editor.selected.configurable": "reference.settings.project.maven.repository.indices",
+ "spring.configuration.checksum": "647853898192e405c7aff8ecac5564ea",
+ "vue.rearranger.settings.migration": "true"
}
-}]]>
+}
@@ -188,6 +185,7 @@
+
1724913131254
diff --git a/cloud-market-server/src/main/resources/mapper/market/SysApitmarketMapper.xml b/cloud-market-server/src/main/resources/mapper/market/SysApitmarketMapper.xml
index dfd3439..c96ccd0 100644
--- a/cloud-market-server/src/main/resources/mapper/market/SysApitmarketMapper.xml
+++ b/cloud-market-server/src/main/resources/mapper/market/SysApitmarketMapper.xml
@@ -71,8 +71,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where sys_id = #{sysId}
- UPDATE `sys_user_role` SET `role_id` = 6 WHERE `user_id` = #{userId};
-
+ INSERT INTO `sys_user_role` (`user_id`, `role_id`) VALUES (#{userId}, 6);