1.提交缺失的东西

This commit is contained in:
2025-05-17 15:34:51 +08:00
parent 724ca1f269
commit bbdb401e71

View File

@ -956,7 +956,7 @@ class OrderLogic extends LogicBase
$refund_days = ConfigServer::get('after_sale', 'refund_days', 0) * 86400; $refund_days = ConfigServer::get('after_sale', 'refund_days', 0) * 86400;
$now = time(); $now = time();
//显示是否评论按钮 //显示是否评论按钮
foreach ($order->order_goods as &$item) { foreach ($order['order_goods'] as &$item) {
$item['comment_btn'] = 0; $item['comment_btn'] = 0;
if ($order['pay_status'] == Pay::ISPAID && $order['order_status'] == CommonOrder::STATUS_FINISH && $item['is_comment'] == 0) { if ($order['pay_status'] == Pay::ISPAID && $order['order_status'] == CommonOrder::STATUS_FINISH && $item['is_comment'] == 0) {
$item['comment_btn'] = 1; $item['comment_btn'] = 1;