|
@@ -176,12 +176,19 @@ class Order
|
|
|
$param['order_status'] = $status;
|
|
|
$param['order_cash'] = $info['cash'];
|
|
|
$param['official_order_num'] = $param['official_msg'] = '';
|
|
|
+ if (isset($info['official_order_num'])) {
|
|
|
+ $param['official_order_num'] = $info['official_order_num'];
|
|
|
+ }
|
|
|
+ if (isset($info['official_msg'])) {
|
|
|
+ $param['official_msg'] = $info['official_msg'];
|
|
|
+ }
|
|
|
if (isset($update['official_order_num'])) {
|
|
|
$param['official_order_num'] = $update['official_order_num'];
|
|
|
}
|
|
|
if (isset($update['official_msg'])) {
|
|
|
$param['official_msg'] = $update['official_msg'];
|
|
|
}
|
|
|
+
|
|
|
$param = \Dever\Helper\Secure::get($param, $seller['appsecret']);
|
|
|
$notify = urldecode($notify);
|
|
|
$response = Dever::curl($notify, $param, 'post')->result();
|