Commit 349b9c68 by mushishixian

fix

parent d5c7ccb5
......@@ -12,7 +12,7 @@ import (
func main() {
var path string
flag.StringVar(&path, "configPath", "conf", "配置文件")
flag.StringVar(&path, "config", "conf", "配置文件")
flag.Parse()
if err := boot.Boot(path); err != nil {
panic(err)
......
......@@ -19,7 +19,7 @@ func init() {
func MouserGetData(c *service.MouserServiceImpl) gin_.Endpoint {
return func(context *gin.Context, request interface{}) (response interface{}, err error) {
rsp := &mouser.MouserResponse{}
err = c.MouserGetData(context, request.(*mouser.MouserRequest), rsp)
//err = c.MouserGetData(context, request.(*mouser.MouserRequest), rsp)
return rsp, err
}
}
......
......@@ -70,7 +70,7 @@ func OutLink(goodsName string,flag string) map[string]*model.LyClearGoodsList {
}
return productList
os.Exit(1)
//os.Exit(1)
//xml := strings.NewReader(resp)
//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