智盟项目
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
246 B

  1. package cfg
  2. import (
  3. "applet/app/utils"
  4. "code.fnuoos.com/go_rely_warehouse/zyos_go_es.git/es"
  5. "encoding/json"
  6. )
  7. func InitEs() {
  8. data, _ := json.Marshal(ES)
  9. utils.FilePutContents("init_es", string(data))
  10. es.Init(ES.Url, ES.User, ES.Pwd)
  11. }