|
@@ -17,7 +17,7 @@ class WechatService {
|
|
|
public function pushWechatOrder($order_id) {
|
|
|
$order = $this->getPushOrder($order_id);
|
|
|
$orderStr = $this->getPushContent($order);
|
|
|
- $openids = $this->getPushOpenId($order_id['exam_id']);
|
|
|
+ $openids = $this->getPushOpenId($order['exam_id']);
|
|
|
if(!$openids) {
|
|
|
log::record('---------没有找到对应openid--------');
|
|
|
return false;
|
|
@@ -40,7 +40,7 @@ class WechatService {
|
|
|
public function pushWechatCancel($order_id) {
|
|
|
$order = $this->getPushOrder($order_id);
|
|
|
$orderStr = $this->getPushContent($order);
|
|
|
- $openids = $this->getPushOpenId($order_id['exam_id']);
|
|
|
+ $openids = $this->getPushOpenId($order['exam_id']);
|
|
|
if(!$openids) {
|
|
|
log::record('---------没有找到对应openid--------');
|
|
|
return false;
|
|
@@ -63,7 +63,7 @@ class WechatService {
|
|
|
public function pushWechatComplete($order_id) {
|
|
|
$order = $this->getPushOrder($order_id);
|
|
|
$orderStr = $this->getPushContent($order);
|
|
|
- $openids = $this->getPushOpenId($order_id['exam_id']);
|
|
|
+ $openids = $this->getPushOpenId($order['exam_id']);
|
|
|
if(!$openids) {
|
|
|
log::record('---------没有找到对应openid--------');
|
|
|
return false;
|
|
@@ -86,7 +86,7 @@ class WechatService {
|
|
|
public function pushWechatRefund($order_id) {
|
|
|
$order = $this->getPushOrder($order_id);
|
|
|
$orderStr = $this->getPushContent($order);
|
|
|
- $openids = $this->getPushOpenId($order_id['exam_id']);
|
|
|
+ $openids = $this->getPushOpenId($order['exam_id']);
|
|
|
if(!$openids) {
|
|
|
log::record('---------没有找到对应openid--------');
|
|
|
return false;
|