소스 검색

api改名

songxiaohang 1 년 전
부모
커밋
fd3b7fcf3b
2개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/cmd/api/api.go
  2. 0 0
      app/cmd/api/etc/api.yaml

+ 1 - 1
app/cmd/api/api.go

@@ -12,7 +12,7 @@ import (
 	"github.com/zeromicro/go-zero/rest"
 )
 
-var configFile = flag.String("f", "etc/datacenter.yaml", "the config file")
+var configFile = flag.String("f", "etc/api.yaml", "the config file")
 
 func main() {
 	flag.Parse()

+ 0 - 0
app/cmd/api/etc/datacenter.yaml → app/cmd/api/etc/api.yaml