站点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

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  1. package siterpc
  2. import (
  3. "testing"
  4. )
  5. func Test_GetConfigItem(t *testing.T) {
  6. siteid := "1056475"
  7. dbname := "test1_tetele_com"
  8. key := "site_secret"
  9. res, err := GetConfigItem(siteid, dbname, key)
  10. t.Log(res)
  11. t.Log(err)
  12. res, err = GetConfig(siteid, dbname, key)
  13. t.Log(res)
  14. t.Log(err)
  15. }