参考:
- https://spring.io/guides/gs/accessing-data-mongodb/
- https://github.com/spring-guides/gs-accessing-data-mongodb/blob/master/complete/src/main/java/com/example/accessingdatamongodb/AccessingDataMongodbApplication.java#L24-L31
注意uri的写法和密码加密的方式
uri: mongodb://admin:Www1hirede@192.168.1.35:27017/test-springboot?authSource=admin&authMechanism=SCRAM-SHA-1