|
|
@@ -497,7 +497,7 @@ func OrderOutput(c *gin.Context) { |
|
|
|
} |
|
|
|
//TODO:: 查找 `order_goods` |
|
|
|
var orderGoods []model.OrderGoods |
|
|
|
err := eg.Where("oid = ? and goods_type=0", v.Oid).Find(&orderGoods) |
|
|
|
err := eg.Where("oid = ? ", v.Oid).Find(&orderGoods) |
|
|
|
if err != nil { |
|
|
|
e.OutErr(c, e.ERR_DB_ORM, err) |
|
|
|
return |
|
|
|