作者 郭文星

123

... ... @@ -461,9 +461,6 @@ class Order extends Backend
$result = $this->model->allowField(true)->insertGetId($params);
$index=new Index();
$res=$index->senWxmsgToDriverUser($result);
print_r($res);
print_r("============");
print_r($result);return;
Db::commit();
} catch (ValidateException|PDOException|Exception $e) {
Db::rollback();
... ...
... ... @@ -113,7 +113,7 @@ class Index extends Api
$ywt_appid = 'wxb7dd0c03865a94e0';
$pagepath = '';
$res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath);
print_r($res);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);
}
}
... ...