Commit 8fbc8f1d by mushishixian

fix

parents c32b5699 349b9c68
package config package config
import ( import (
"fmt"
"github.com/go-ini/ini" "github.com/go-ini/ini"
"strings" "strings"
) )
...@@ -22,3 +23,7 @@ func Get(key string) *ini.Key { ...@@ -22,3 +23,7 @@ func Get(key string) *ini.Key {
} }
return cfg.Section("").Key(key) return cfg.Section("").Key(key)
} }
func GetSectionValue(key string) {
fmt.Println(cfg.Section("supplier_all").KeyStrings())
}
...@@ -70,6 +70,7 @@ func OutLink(goodsName string,flag string) map[string]*model.LyClearGoodsList { ...@@ -70,6 +70,7 @@ func OutLink(goodsName string,flag string) map[string]*model.LyClearGoodsList {
} }
return productList return productList
//os.Exit(1)
//xml := strings.NewReader(resp) //xml := strings.NewReader(resp)
//json, err := xj.Convert(xml) //json, err := xj.Convert(xml)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment