Browse Source

api改名

songxiaohang 1 năm trước cách đây
mục cha
commit
fd3b7fcf3b
2 tập tin đã thay đổi với 1 bổ sung1 xóa
  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