|
@@ -1072,6 +1072,7 @@ $j = json_decode($j, true);
|
|
|
|
|
|
|
|
$j = json_decode($j, true);
|
|
$j = json_decode($j, true);
|
|
|
//$this->logic_ding->sendToDing("获取TT的webhook数据:".json_encode($j));
|
|
//$this->logic_ding->sendToDing("获取TT的webhook数据:".json_encode($j));
|
|
|
|
|
+ $this->logic_ding->sendToDing($j['data']['order_id']."获取TT的webhook数据:".json_encode($j));
|
|
|
$xq = array();
|
|
$xq = array();
|
|
|
if($j['type'] == 1 && $j['data']['order_status'] == 'UNPAID')
|
|
if($j['type'] == 1 && $j['data']['order_status'] == 'UNPAID')
|
|
|
{
|
|
{
|
|
@@ -1096,7 +1097,7 @@ $j = json_decode($j, true);
|
|
|
exit;
|
|
exit;
|
|
|
}
|
|
}
|
|
|
$d = $this->fullordertt->get_orderinfo($j['data']['order_id']);
|
|
$d = $this->fullordertt->get_orderinfo($j['data']['order_id']);
|
|
|
- $this->logic_ding->sendToDing($j['data']['order_id']."获取TT的webhook数据:".json_encode($j));
|
|
|
|
|
|
|
+
|
|
|
if($d)
|
|
if($d)
|
|
|
{
|
|
{
|
|
|
$post = $this->fullordertt->read($d['id']);
|
|
$post = $this->fullordertt->read($d['id']);
|