上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 58 下一页
  2020年3月3日
摘要: 接上篇:SpringBoot集成JMH进行基准测试 本地环境:IDEA 2018.3.6 jmh 1.21 。本地使用1.22失败,可能是windows 10下面使用了阿里巴巴的Maven镜像源有bug 上一篇算是一次失败的尝试,后来笔者又查阅了别人的文章,分享一个可用的 运行方法: 右键 AppT 阅读全文
posted @ 2020-03-03 17:50 你不知道的浪漫 阅读(2920) 评论(0) 推荐(0) 编辑
摘要: 写法一: import com.xxx.entity.ByteDanceDataNode; import com.xxx.service.ByteDanceDataService; import com.xxx.service.DistrictService; import com.xxx.serv 阅读全文
posted @ 2020-03-03 12:00 你不知道的浪漫 阅读(321) 评论(0) 推荐(0) 编辑
  2020年3月2日
摘要: 笔者最近在做测试用例(testCase),但是实际这个测试用例根本需要数据库。启动报错: Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' 阅读全文
posted @ 2020-03-02 21:12 你不知道的浪漫 阅读(2109) 评论(0) 推荐(0) 编辑
  2020年2月29日
摘要: 转载自:https://segmentfault.com/a/1190000013644784 maven <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-underto 阅读全文
posted @ 2020-02-29 20:21 你不知道的浪漫 阅读(2828) 评论(0) 推荐(0) 编辑
摘要: 需求 最近笔者和前端同事在对接restful接口,json数据格式如下: json数据语义描述: code:响应状态码,约定10001为成功。 message: 成功或者失败消息 result:响应结果集 其中一个节点含有mapId,这个mapId是他前端地图,行政区域对应的ID,我后台采集来的行政 阅读全文
posted @ 2020-02-29 19:04 你不知道的浪漫 阅读(2138) 评论(0) 推荐(0) 编辑
  2020年2月28日
摘要: 一个系统中,一些设置,可以局部自定义。默认情况下,数据库没有设置的。 表结构如下: -- -- Table structure for status -- DROP TABLE IF EXISTS `status`; CREATE TABLE `status` ( `id` int(11) NOT 阅读全文
posted @ 2020-02-28 20:58 你不知道的浪漫 阅读(314) 评论(0) 推荐(0) 编辑
摘要: 转载自:https://www.cnblogs.com/can-i-do/p/7003915.html 项目需要,需要在前端使用拾色器。 <div class="picker" id="color-picker1" name="level0" style="background-color: rgb 阅读全文
posted @ 2020-02-28 20:15 你不知道的浪漫 阅读(452) 评论(0) 推荐(0) 编辑
摘要: 最初的代码时在特定方法里写响应头的,代码经过不断演化,变成以下 response.setHeader("Access-Allow-Control-Origin","*"); response.setHeader("Access-Control-Allow-Headers","*"); respons 阅读全文
posted @ 2020-02-28 16:06 你不知道的浪漫 阅读(507) 评论(0) 推荐(0) 编辑
摘要: 笔者的JSON如下: { "code": 10001, "message": "成功", "nextUrl": null, "data": { "updateTime": "2020-02-23 13:43:18", "result": [ { "confirm": 24, "suspect": 0 阅读全文
posted @ 2020-02-28 11:59 你不知道的浪漫 阅读(1225) 评论(0) 推荐(0) 编辑
摘要: Relevance.java代码如下: import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import javax.persist 阅读全文
posted @ 2020-02-28 09:33 你不知道的浪漫 阅读(2396) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 58 下一页