...
|
...
|
@@ -265,7 +265,7 @@ class Api extends Controller |
|
|
->where(['order_no' => $data['out_trade_no']])
|
|
|
->update($order);
|
|
|
SendMessage($cks['id']);
|
|
|
|
|
|
$this->senWxmsgToDriverUser($cks['id']);
|
|
|
//生成订单日志
|
|
|
if ($rs) {
|
|
|
if($order['type']==1){
|
...
|
...
|
@@ -281,7 +281,7 @@ class Api extends Controller |
|
|
$orderlog['createtime'] = time();
|
|
|
Db::name('order_log')->insert($orderlog);
|
|
|
//$this->SendMessage($cks['id']);
|
|
|
$this->senWxmsgToDriverUser($cks['id']);
|
|
|
|
|
|
}
|
|
|
}
|
|
|
|
...
|
...
|
@@ -313,7 +313,7 @@ class Api extends Controller |
|
|
$ywt_appid = 'wxb7dd0c03865a94e0';
|
|
|
$pagepath = '';
|
|
|
$res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath);
|
|
|
file_put_contents("pcl_wct_send.log", date("Y-m-d H:i:s") . "1-2-" . json_encode($res, JSON_UNESCAPED_UNICODE) . PHP_EOL, FILE_APPEND);
|
|
|
//file_put_contents("pcl_wct_send.log", date("Y-m-d H:i:s") . "1-2-" . json_encode($res, JSON_UNESCAPED_UNICODE) . PHP_EOL, FILE_APPEND);
|
|
|
}
|
|
|
}
|
|
|
}
|
...
|
...
|
|