sql: 更新smsc参数yaml配置数据

This commit is contained in:
TsMask
2024-09-09 19:02:51 +08:00
parent 310c528ea4
commit 516eb535df
3 changed files with 99 additions and 6 deletions

View File

@@ -21,7 +21,7 @@ import (
const (
// 数据库
DbHost = "192.168.8.58"
DbHost = "127.0.0.1"
DbPort = 33066
DbUser = "root"
DbPassswd = "1000omc@kp!"
@@ -29,10 +29,10 @@ const (
// 配置文件路径
configParamDir = "../../../config/param"
// configParamFile = "*" // 目录下全部更新
configParamFile = "cbc_param_config.yaml" // 单文件更新
configParamFile = "smsc_param_config.yaml" // 单文件更新
)
func TestEncrypt(t *testing.T) {
func TestConfig(t *testing.T) {
fileNameList, err := getDirFileNameList(configParamDir)
if err != nil {
log.Fatal(err)