|
@@ -214,7 +214,7 @@ class My extends Core
|
|
|
Dever::alert('订单不存在');
|
|
|
}
|
|
|
if ($this->data['status'] == 2 || $this->data['status'] == 3) {
|
|
|
- Dever::db('shop/sell_order')->update(array('where_id' => $id, 'status' => 6));
|
|
|
+ Dever::db('shop/sell_order')->update(array('where_id' => $id, 'status' => 6, 'tk_status' => 2));
|
|
|
|
|
|
# 退款到原支付账户
|
|
|
return 'ok';
|
|
@@ -234,7 +234,7 @@ class My extends Core
|
|
|
Dever::alert('订单不存在');
|
|
|
}
|
|
|
if ($this->data['status'] == 2 || $this->data['status'] == 3) {
|
|
|
- Dever::db('shop/sell_order')->update(array('where_id' => $id, 'status' => 7));
|
|
|
+ Dever::db('shop/sell_order')->update(array('where_id' => $id, 'status' => 6, 'tk_status' => 3));
|
|
|
|
|
|
$goods_id = explode(',', $user_goods_id);
|
|
|
|