创建 consul.bat文件 @echo off path = %path%;G:\spring cloud code; consul.exe agent -dev path对应consul.exe目录