|
|
@@ -23,12 +23,14 @@ class CallBackHandler
|
|
|
/**
|
|
|
* 处理滴滴回调
|
|
|
*
|
|
|
- * @param array $data 回调数据
|
|
|
+ * @param array $post 回调数据
|
|
|
* @return bool|array 处理结果
|
|
|
*/
|
|
|
- public function handle($data)
|
|
|
+ public function handle($post)
|
|
|
{
|
|
|
try {
|
|
|
+ $data = json_decode($post['logisticsParam'], true);
|
|
|
+
|
|
|
// 验证签名 (如有需要请实现)
|
|
|
// if (!$this->verifySignature($data)) { ... }
|
|
|
|