作者 郭文星

123

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