...
|
...
|
@@ -148,12 +148,13 @@ class Index extends Api |
|
|
'phone_number5' => array('value' => "{$order['phone']}", 'color' => '#173177'),
|
|
|
);
|
|
|
if ($wxopenid) {
|
|
|
print_r(json_encode($order));return;
|
|
|
$config = get_addon_config('wechat');
|
|
|
$ywt_appid = 'wx58ceff4e93cfc523';
|
|
|
$tourl = '';
|
|
|
$pagepath ='pages/module/orderDetails?params='.json_encode($order);
|
|
|
$res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath);
|
|
|
print_r(json_encode($order));return;
|
|
|
|
|
|
//print_r($res);return;
|
|
|
//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);
|
|
|
}
|
...
|
...
|
|