Browse Source

Merge branch 'yijia' of http://47.101.187.29:8081/loumengning/shop into yijia

undefined
xubinxcode 4 years ago
parent
commit
ff7985a800
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      addons/unishop/behavior/Order.php

+ 2
- 0
addons/unishop/behavior/Order.php View File

@@ -220,6 +220,8 @@ $address=[];
{
$order = &$params;
$order->have_paid = time();// 更新支付时间为当前时间
$order->have_received = time();// 更新发货时间为当前时间
$order->have_delivered = time();// 更新收货时间为当前时间
$order->pay_type = $extra['pay_type'];
$order->save();



Loading…
Cancel
Save