spring-boot-api-project-seed icon indicating copy to clipboard operation
spring-boot-api-project-seed copied to clipboard

:seedling::rocket:一个基于Spring Boot & MyBatis的种子项目,用于快速构建中小型API、RESTful API项目~

Results 106 spring-boot-api-project-seed issues
Sort by recently updated
recently updated
newest added

如果项目使用mysql主从,要进行读写分离操作, 应该怎么改配置比较好?

类似这样的http://localhost:8080/v1/user/1

你好,你这个框架真是太好用了,我一个做iOS手机端的工程师,居然毫无压力的开发了一个服务器系统,非常感谢!!但是最近我遇到了一点小问题,如题,按照您推荐的方式,业务错误都可以通过throw new ServiceException("该手机号已被注册") 类似的方式抛出异常,但是实际使用过程中,客户端做了国际化,不能直接使用服务端返回的message,所以客户端更多的时候需要根据返回的code,结合当前设置的语言,来判断显示什么语种给用户。所以我在想ServiceException("") 能否扩展一个code参数?或者说类似的需求您有没有什么其它方案推荐?再次感谢

``` 09:38:56 [http-nio-8014-exec-6] ERROR com.mylike.config.WebMvcConfigurer - 接口 [/t/sd/contacts/addList] 出现异常,方法:com.mylike.app.client.web.sdController.addList,异常摘要:I/O error while reading input message; nested exception is java.io.EOFException: Unexpected EOF read on the socket org.springframework.http.converter.HttpMessageNotReadableException: I/O error while reading input...

mvn clean package 还是 mvn spring boot repackage ?

用mapper插件的select方法。 解析出的sql为:SELECT value,id,key,create_time,modify_time FROM TABLE_A; 其中 key是mysql的关键字,导致直接查询不了,怎么加上 类似` `这些符号区分呀

UserserviceImpl.java 中有句 private UserMapper userMapper; 把它注释了对项目没什么影响! 请问注入userMapper 的作用是什么?