|
@@ -28,6 +28,9 @@ class Notify extends Api
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ if (!$input) {
|
|
|
|
+ $this->error('error');
|
|
|
|
+ }
|
|
$this->load($input, $connect_id, $api_id, $order_id);
|
|
$this->load($input, $connect_id, $api_id, $order_id);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -88,7 +91,7 @@ class Notify extends Api
|
|
Dever::load('order', 'seller')->notify($order, $msg, $update);
|
|
Dever::load('order', 'seller')->notify($order, $msg, $update);
|
|
echo $this->info['notify_success'];die;
|
|
echo $this->info['notify_success'];die;
|
|
}
|
|
}
|
|
- echo 'error';die;
|
|
|
|
|
|
+ $this->error('error');
|
|
}
|
|
}
|
|
|
|
|
|
private function error($msg)
|
|
private function error($msg)
|