Commit 8dc50069 authored by wwccw0591's avatar wwccw0591

upd

parent 51586b48
...@@ -727,10 +727,10 @@ class OrderConfirmUtil { ...@@ -727,10 +727,10 @@ class OrderConfirmUtil {
array('keyword4'=>array('value'=>$order['store_name'])), array('keyword4'=>array('value'=>$order['store_name'])),
array('keyword5'=>array('value'=>$goods_str)), array('keyword5'=>array('value'=>$goods_str)),
)); ));
\Our\Log::getInstance()->write(var_export($req_data, true), '/data/log/wxtpltest'); \Our\Log::getInstance()->write(var_export($req_data, true), '/data/log/apptest');
$url = 'https://api.weixin.qq.com/cgi-bin/message/wxopen/template/send?access_token='; $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'); $result = $this->sendurl($url, $access_token, json_encode($req_data), 'post');
\Our\Log::getInstance()->write(var_export($result, true), '/data/log/wxtpltest'); \Our\Log::getInstance()->write(var_export($result, true), '/data/log/apptest');
} }
$this->opCacheInfo(); $this->opCacheInfo();
$this->pushMessage(); $this->pushMessage();
......
...@@ -85,7 +85,7 @@ class ArrayConst ...@@ -85,7 +85,7 @@ class ArrayConst
'secret' => '63df6bf0bb37862893bde46e7db218d0', 'secret' => '63df6bf0bb37862893bde46e7db218d0',
'grant_type' => 'authorization_code', 'grant_type' => 'authorization_code',
); );
//卖家处理状态 //卖家处理状态
const sellerState=array( const sellerState=array(
......
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