mongodb 使用

1、配置数据源

spring.data.mongodb.uri=mongodb://root(userName):root(password)@localhost(ip地址):27017(端口号)/gis(collections/数据库)

 

posted @ 2019-05-31 10:09  litf  阅读(110)  评论(0)    收藏  举报