- 添加了部分到家订单级促销

This commit is contained in:
gazebo
2019-04-04 21:03:10 +08:00
parent ef69a4f60d
commit c3e3c32d44
14 changed files with 294 additions and 107 deletions

View File

@@ -168,9 +168,15 @@ func (a *API) FullDiscountList(poiCode string, actType int) (actInfoList []*Full
})
}
}
return actInfoList, nil
// decoder, _ := mapstructure.NewDecoder(&mapstructure.DecoderConfig{
// TagName: "json",
// Result: &actInfoList,
// })
// if err = decoder.Decode(result); err != nil {
// return nil, err
// }
}
return nil, err
return actInfoList, err
}
func interface2ActInfo(actInfo interface{}) *FullDiscountActInfo {