摘要: ## 异步等待一个函数 async/await ``` async doDict() { await searchDetail({'dictName' : 'position'}).then(res => { console.log('searchDetail') }) console.log('o 阅读全文
posted @ 2023-07-06 15:31 sunpeiyu 阅读(72) 评论(0) 推荐(0) 编辑
摘要: ## 方式1,使用MyBatisPlus插件实现读写分离 #### 导包 ``` com.baomidou mybatis-plus-boot-starter 3.4.0 com.baomidou dynamic-datasource-spring-boot-starter 3.4.0 ``` ## 阅读全文
posted @ 2023-07-06 09:42 sunpeiyu 阅读(253) 评论(0) 推荐(0) 编辑