|
@@ -186,7 +186,7 @@ class Order
|
|
|
}
|
|
|
|
|
|
|
|
|
- public function notify($info, $msg, $update = array(), $total = 5)
|
|
|
+ public function notify($info, $msg, $update = array(), $total = 5, $oper = 1)
|
|
|
{
|
|
|
$seller = Dever::db('info', 'seller')->find($info['seller_id']);
|
|
|
$status = 11;
|
|
@@ -242,7 +242,7 @@ class Order
|
|
|
$update['finish'] = 1;
|
|
|
$update['finish_date'] = time();
|
|
|
$info = array_merge($info, $update);
|
|
|
- $this->finish($info);
|
|
|
+ $this->finish($info, $oper);
|
|
|
}
|
|
|
if (!$info['order_num']) {
|
|
|
$update['order_num'] = $this->createOrder();
|