物料下单更改数据类型floa
This commit is contained in:
@@ -598,7 +598,7 @@ func orderSolutionForWuLiao(order *model.GoodsOrder) (err error) {
|
||||
if order.FromStoreID != 0 {
|
||||
var (
|
||||
goodsNos []string
|
||||
prices []int
|
||||
prices []float64
|
||||
quantities []int
|
||||
db = dao.GetDB()
|
||||
)
|
||||
@@ -613,7 +613,7 @@ func orderSolutionForWuLiao(order *model.GoodsOrder) (err error) {
|
||||
continue
|
||||
}
|
||||
goodsNos = append(goodsNos, skus[0].EclpID)
|
||||
prices = append(prices, 0)
|
||||
prices = append(prices, 0.00)
|
||||
quantities = append(quantities, v.Count)
|
||||
}
|
||||
result, err := api.JdEclpAPI.AddOrder(&jdeclpapi.AddOrderParam{
|
||||
|
||||
Reference in New Issue
Block a user