From 742923a5512707bdfd4c0e2e9adfcb86b453be28 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期日, 13 八月 2023 17:33:18 +0800
Subject: [PATCH] 修复长度大于1的读取结果

---
 config/config.go |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/config/config.go b/config/config.go
index 9200865..143c96a 100644
--- a/config/config.go
+++ b/config/config.go
@@ -9,6 +9,7 @@
 )
 
 type Config struct {
+	ServePort         string `json:"serve_port"`           // 涓昏处鍙穒d, 鐢ㄤ簬璇锋眰web鎺ュ彛
 	ParentId          string `json:"parent_id"`            // 涓昏处鍙穒d, 鐢ㄤ簬璇锋眰web鎺ュ彛
 	JWTKey            string `json:"jwt_key"`              // 鐢熸垚jwt鐨刱ey
 	NsqServer         string `json:"nsq_server"`           // nsq TCP鏈嶅姟绔湴鍧�
@@ -24,6 +25,7 @@
 var Options Config
 
 func DefaultConfig() {
+	Options.ServePort = "16860"
 	Options.ParentId = "guangsheng"
 	Options.JWTKey = "abcdefghijklmn"
 	Options.NsqServer = "fai365.com:4150"

--
Gitblit v1.8.0