站点RPC方法
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
296 B

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)
}