Commit c8e8f10c authored by wwccw0591's avatar wwccw0591

upd

parent 506c250b
......@@ -719,7 +719,11 @@ class OrderConfirmUtil {
} else {
$goods_str .= $goods_datas[0];
}
$req_data = array('touser'=>$this->member['memberWxopenid'], 'template_id'=> $msg_tpl, 'form_id'=>$formId,
$sess = \Yaf\Session::getInstance();
$authInfo = $sess->get('wxAuthInfo');
$openid = $authInfo['openid'];
$req_data = array('touser'=>$openid, 'template_id'=> $msg_tpl, 'form_id'=>$formId,
'data'=>array(
array('keyword1'=>array('value'=>'下单成功')),
array('keyword2'=>array('value'=>$order['order_sn'])),
......
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