1.提交缺失的东西
This commit is contained in:
@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user