package siterpc
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func Test_GetConfigItem(t *testing.T) {
|
|
siteid := "1056475"
|
|
dbname := "test1_tetele_com"
|
|
key := "site_secret"
|
|
res, err := GetConfigItem(siteid, dbname, key)
|
|
t.Log(res)
|
|
t.Log(err)
|
|
|
|
res, err = GetConfig(siteid, dbname, key)
|
|
t.Log(res)
|
|
t.Log(err)
|
|
|
|
}
|