一、修改mapping POST linewell_assets_mgt_es/lw_devices/_mapping { "lw_devices": { "properties": { "audit_state": { "type": "long" } } } } Read More
posted @ 2019-02-14 11:31
护花使者
Views(145)
Comments(0)
Diggs(0)
一、获取索引的mapping GET linewell_assets_mgt_es/lw_devices/_mapping Read More
posted @ 2019-02-14 11:20
护花使者
Views(138)
Comments(0)
Diggs(0)
一、添加maven依赖 二、添加swagger配置类 三、springboot添加注解 四、一个测试用例 一个注册的controller上面添加以上配置就可以了 swagger页面的访问路径 ip:port/swagger-ui.html 里面的要填的参数,上面配置的name会自动映射到contro Read More
posted @ 2019-02-14 09:37
护花使者
Views(589)
Comments(0)
Diggs(0)