chore(addon): weapp 插件与niushopV5部分代码同步比较
This commit is contained in:
16
src/addon/weapp/event/MemberRechargeOrderPay.php
Normal file
16
src/addon/weapp/event/MemberRechargeOrderPay.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace addon\weapp\event;
|
||||
|
||||
use app\model\system\Cron;
|
||||
|
||||
/**
|
||||
* 充值订单完成后
|
||||
*/
|
||||
class MemberRechargeOrderPay
|
||||
{
|
||||
public function handle($param)
|
||||
{
|
||||
return (new Cron())->addCron(1, 0, "小程序虚拟发货", "WeappVirtualDelivery", time() + 60, $param['out_trade_no']);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user