|
@@ -0,0 +1,39 @@
|
|
|
+<?php
|
|
|
+/**
|
|
|
+ * Niushop商城系统 - 团队十年电商经验汇集巨献!
|
|
|
+ * =========================================================
|
|
|
+ * Copy right 2019-2029 山西牛酷信息科技有限公司, 保留所有权利。
|
|
|
+ * ----------------------------------------------
|
|
|
+ * 官方网址: https://www.niushop.com.cn
|
|
|
+ * 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和使用。
|
|
|
+ * 任何企业和个人不允许对程序代码以任何形式任何目的再发布。
|
|
|
+ * =========================================================
|
|
|
+ */
|
|
|
+// +---------------------------------------------------------------------+
|
|
|
+// | NiuCloud | [ WE CAN DO IT JUST NiuCloud ] |
|
|
|
+// +---------------------------------------------------------------------+
|
|
|
+// | Copy right 2019-2029 www.niucloud.com |
|
|
|
+// +---------------------------------------------------------------------+
|
|
|
+// | Author | NiuCloud <niucloud@outlook.com> |
|
|
|
+// +---------------------------------------------------------------------+
|
|
|
+// | Repository | https://github.com/niucloud/framework.git |
|
|
|
+// +---------------------------------------------------------------------+
|
|
|
+declare (strict_types = 1);
|
|
|
+
|
|
|
+namespace app\event;
|
|
|
+
|
|
|
+use app\model\member\FranchiseeExamine;
|
|
|
+/**
|
|
|
+ * 订单异步回调执行
|
|
|
+ */
|
|
|
+class FranchiseePayNotify
|
|
|
+{
|
|
|
+
|
|
|
+ // 行为扩展的执行入口必须是run
|
|
|
+ public function handle($data)
|
|
|
+ {
|
|
|
+ $order = new FranchiseeExamine();
|
|
|
+ $order->vipOnlinePay($data);
|
|
|
+ }
|
|
|
+
|
|
|
+}
|