Commit 56f973ef authored by wwccw0591's avatar wwccw0591

upd

parent 02ff5d7f
......@@ -727,8 +727,10 @@ class OrderConfirmUtil {
array('keyword4'=>array('value'=>$order['store_name'])),
array('keyword5'=>array('value'=>$goods_str)),
));
\Our\Log::getInstance()->write(var_export($req_data, true), '/data/log/wxtpltest');
$url = 'https://api.weixin.qq.com/cgi-bin/message/wxopen/template/send?access_token=';
$result = $this->sendurl($url, $access_token, json_encode($req_data), 'post');
\Our\Log::getInstance()->write(var_export($result, true), '/data/log/wxtpltest');
}
$this->opCacheInfo();
$this->pushMessage();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment