chore: 打包程序包变更nms_cxy

This commit is contained in:
TsMask
2024-03-19 18:40:07 +08:00
parent 0f735bb666
commit a4c71a4d70
357 changed files with 1479 additions and 1885 deletions

View File

@@ -2,8 +2,8 @@ package config
import (
"fmt"
"nms_nbi/lib/global"
"nms_nbi/lib/log"
"nms_cxy/lib/global"
"nms_cxy/lib/log"
"os"
"strings"

View File

@@ -6,7 +6,7 @@ import (
"gopkg.in/yaml.v3"
"nms_nbi/lib/global"
"nms_cxy/lib/global"
)
type Uri2Object struct {

View File

@@ -3,7 +3,7 @@
# duration: rotation time with xx hours, example: 1/12/24 hours
# count: rotation count of log, default is 30 rotation
logger:
file: d:/local.git/nms_nbi/restagent/log/restagent-t.log
file: d:/local.git/nms_cxy/restagent/log/restagent-t.log
level: trace
duration: 24
count: 2
@@ -25,7 +25,7 @@ database:
host: 127.0.0.1
port: 33066
name: omc_db
backup: d:/local.git/nms_nbi/restagent/database
backup: d:/local.git/nms_cxy/restagent/database
# Redis 缓存数据,数据源声明全小写
redis:

View File

@@ -3,7 +3,7 @@
# duration: rotation time with xx hours, example: 1/12/24 hours
# count: rotation count of log, default is 30 rotation
logger:
file: d:/local.git/nms_nbi/restagent/log/restagent.log
file: d:/local.git/nms_cxy/restagent/log/restagent.log
level: trace
duration: 24
count: 2
@@ -44,7 +44,7 @@ database:
password: "root@1234"
host: "192.168.5.59"
port: 3306
name: omc_db
name: omc_db_nms_cxy
backup: d:/local.git/be.ems/restagent/database
# Redis 缓存数据,数据源声明全小写

View File

@@ -2,7 +2,7 @@
PROJECT = OMC
VERSION = 2.2403.1
LIBDIR = nms_nbi/lib
LIBDIR = nms_cxy/lib
BINNAME = restagent
.PHONY: build $(BINNAME)

View File

@@ -9,19 +9,19 @@ import (
"strconv"
"strings"
"nms_nbi/features/dbrest"
"nms_nbi/features/event"
"nms_nbi/features/fm"
"nms_nbi/features/lm"
"nms_nbi/features/pm"
"nms_nbi/lib/dborm"
"nms_nbi/lib/global"
"nms_nbi/lib/log"
"nms_nbi/lib/routes"
"nms_nbi/restagent/config"
"nms_nbi/src"
"nms_nbi/src/framework/middleware"
libSession "nms_nbi/src/lib_features/session"
"nms_cxy/features/dbrest"
"nms_cxy/features/event"
"nms_cxy/features/fm"
"nms_cxy/features/lm"
"nms_cxy/features/pm"
"nms_cxy/lib/dborm"
"nms_cxy/lib/global"
"nms_cxy/lib/log"
"nms_cxy/lib/routes"
"nms_cxy/restagent/config"
"nms_cxy/src"
"nms_cxy/src/framework/middleware"
libSession "nms_cxy/src/lib_features/session"
"github.com/gin-gonic/gin"
"golang.org/x/net/http2"