Merge pull request 'feat(PayNotifyLogic): 添加订单支付成功推送通知功能' (#69) from dev into rose
Reviewed-on: #69
This commit is contained in:
commit
14d1ca8c11
@ -282,6 +282,7 @@ class PayNotifyLogic extends BaseLogic
|
|||||||
}
|
}
|
||||||
if($order['pay_type']==9){
|
if($order['pay_type']==9){
|
||||||
Db::name('wechat_micropay')->where(['order_id'=>$order['order_id']])->delete();
|
Db::name('wechat_micropay')->where(['order_id'=>$order['order_id']])->delete();
|
||||||
|
PushService::push('store_merchant_' . $order['store_id'], $order['store_id'], ['type' => 'cash_register', 'msg' => '您有一笔订单已支付', 'data' => $extra]);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user