修改API的物流显示模块
This commit is contained in:
parent
a5d072e3f7
commit
43eb0fa507
@ -1399,7 +1399,7 @@ class OrderLogic extends Logic
|
|||||||
$lists->append(['goods_count', 'pay_btn', 'cancel_btn', 'delivery_btn', 'take_btn', 'del_btn', 'comment_btn', 'content_btn','order_cancel_time']);
|
$lists->append(['goods_count', 'pay_btn', 'cancel_btn', 'delivery_btn', 'take_btn', 'del_btn', 'comment_btn', 'content_btn','order_cancel_time']);
|
||||||
|
|
||||||
foreach ($lists as $list) {
|
foreach ($lists as $list) {
|
||||||
dump($list);
|
dump($list['id']);
|
||||||
if ($list['order_type'] == OrderEnum::SECKILL_ORDER) {//如果是秒杀
|
if ($list['order_type'] == OrderEnum::SECKILL_ORDER) {//如果是秒杀
|
||||||
foreach ($list['order_goods'] as $item) {
|
foreach ($list['order_goods'] as $item) {
|
||||||
$seckill_price = GoodsItem::isSeckill($item['item_id']);
|
$seckill_price = GoodsItem::isSeckill($item['item_id']);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user