springcloud config无法从git读取yml文件

MapPropertySource {name='https://github.com/LIUYC1995/SpringcloudConfig/respo/config-client-dev.yml'}]}

报错: Could not resolve placeholder 'foo' in value "${foo}"

git文件后缀名改成properties 就可以了,但是用yml后缀config-client项目一启动就报错

https://blog.csdn.net/guangyingposuo/article/details/84984175