Commit 177910cb by huangchengyi

1.0

parent 5f5216e7
......@@ -12,7 +12,7 @@ func GetMouserData(c *gin.Context) {
goodsName, _ := c.GetPostForm("goods_name")
//lycon := new(ly.CommonLyService)
//调外链拿数据
apiData := ly.OutLinkMouser(&goodsName,"-1")
apiData := ly.OutLinkMouser2(&goodsName,"-1")
//var shu string
//for _, info := range apiData {
......@@ -37,13 +37,12 @@ func GetMouserData(c *gin.Context) {
// "3333":"333333",
// "gagaga":"333333",
// })
josn, errs := json.Marshal(apiData)
if errs != nil {
fmt.Println("错误")
}
c.JSON(200,string(josn))
fmt.Println(len(josn))
c.String(200,string(josn))
//供应商详情
//supplierInfo := model.SUPPLIER_REDIS_INFO{
// SupplierId:14,
......
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