初始上传

This commit is contained in:
2026-04-04 17:27:12 +08:00
parent 4d80d28eb4
commit b7e11774ee
11191 changed files with 1588469 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* =========================================================
*/
namespace app\event\message;
use app\model\member\MemberAccount;
/**
* 会员账户变动通知通知
*/
class MessageAccountChangeNotice
{
/**
* @param $param
* @return void|null
*/
public function handle($param)
{
//会员余额变动通知
if ($param[ "keywords" ] == "USER_BALANCE_CHANGE_NOTICE") {
$model = new MemberAccount();
return $model->messageAccountChangeNotice($param);
}
//会员积分变动通知
if ($param[ "keywords" ] == "USER_POINT_CHANGE_NOTICE") {
$model = new MemberAccount();
return $model->messagePointChangeNotice($param);
}
}
}

View File

@@ -0,0 +1,31 @@
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* =========================================================
*/
namespace app\event\message;
use app\model\member\Member;
/**
* 绑定发送验证码
*/
class MessageBindCode
{
public function handle($param)
{
//发送订单消息
if ($param[ "keywords" ] == "MEMBER_BIND") {
$member_model = new Member();
$result = $member_model->bindCode($param);
return $result;
}
}
}

View File

@@ -0,0 +1,34 @@
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和使用。
* 任何企业和个人不允许对程序代码以任何形式任何目的再发布。
* =========================================================
*/
namespace app\event\message;
use app\model\order\OrderMessage;
/**
* 买家订单完成通知商家
*/
class MessageBuyerOrderComplete
{
/**
* @param $param
* @return array|mixed|void
*/
public function handle($param)
{
//发送订单消息
if ($param["keywords"] == "BUYER_ORDER_COMPLETE") {
$model = new OrderMessage();
return $model->messageBuyerOrderComplete($param);
}
}
}

View File

@@ -0,0 +1,32 @@
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* =========================================================
*/
namespace app\event\message;
use app\model\order\OrderMessage;
/**
* 买家支付成功通知商家
*/
class MessageBuyerPaySuccess
{
/**
* @param $param
* @return array|mixed|void
*/
public function handle($param)
{
//发送订单消息
if ($param[ "keywords" ] == "BUYER_PAY") {
$model = new OrderMessage();
return $model->messageBuyerPaySuccess($param);
}
}
}

View File

@@ -0,0 +1,32 @@
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* =========================================================
*/
namespace app\event\message;
use addon\membercancel\model\MemberCancel;
/**
* 会员注销申请通知
*/
class MessageCancelApply
{
/**
* @param $param
* @return array
*/
public function handle($param)
{
if ($param[ "keywords" ] == "USER_CANCEL_APPLY") {
$model = new MemberCancel();
return $model->memberCancelApply($param);
}
}
}

View File

@@ -0,0 +1,32 @@
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* =========================================================
*/
namespace app\event\message;
use addon\membercancel\model\MemberCancel;
/**
* 会员注销失败通知
*/
class MessageCancelFail
{
/**
* @param $param
* @return array
*/
public function handle($param)
{
if ($param[ "keywords" ] == "USER_CANCEL_FAIL") {
$model = new MemberCancel();
return $model->memberCancelFail($param);
}
}
}

View File

@@ -0,0 +1,33 @@
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* =========================================================
*/
namespace app\event\message;
use addon\membercancel\model\MemberCancel;
/**
* 会员注销成功通知
*/
class MessageCancelSuccess
{
/**
* @param $param
* @return array
*/
public function handle($param)
{
//发送订单消息
if ($param[ "keywords" ] == "USER_CANCEL_SUCCESS") {
$model = new MemberCancel();
return $model->memberCancelSuccess($param);
}
}
}

View File

@@ -0,0 +1,30 @@
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* =========================================================
*/
namespace app\event\message;
use app\model\member\Member;
/**
* 收银台会员验证验证码
*/
class MessageCashierMemberVerifyCode
{
public function handle($param)
{
//发送订单消息
if ($param[ "keywords" ] == "CASHIER_MEMBER_VERIFY_CODE") {
$result = ( new Member() )->bindCode($param);
return $result;
}
}
}

View File

@@ -0,0 +1,35 @@
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* =========================================================
*/
namespace app\event\message;
use addon\fenxiao\model\FenxiaoWithdraw;
use GuzzleHttp\Exception\GuzzleException;
/**
* 分销提现申请发送消息
*/
class MessageFenxiaoWithdrawalApply
{
/**
* @param $param
* @return void|null
* @throws GuzzleException
*/
public function handle($param)
{
//发送订单消息
if ($param[ "keywords" ] == "FENXIAO_WITHDRAWAL_APPLY") {
$model = new FenxiaoWithdraw();
return $model->messageFenxiaoWithdrawalApply($param);
}
}
}

View File

@@ -0,0 +1,35 @@
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* =========================================================
*/
namespace app\event\message;
use addon\fenxiao\model\FenxiaoWithdraw;
use GuzzleHttp\Exception\GuzzleException;
/**
* 分销提现失败发送消息
*/
class MessageFenxiaoWithdrawalError
{
/**
* @param $param
* @return void|null
* @throws GuzzleException
*/
public function handle($param)
{
//发送订单消息
if ($param[ "keywords" ] == "FENXIAO_WITHDRAWAL_ERROR") {
$model = new FenxiaoWithdraw();
return $model->messageFenxiaoWithdrawalError($param);
}
}
}

View File

@@ -0,0 +1,35 @@
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* =========================================================
*/
namespace app\event\message;
use addon\fenxiao\model\FenxiaoWithdraw;
use GuzzleHttp\Exception\GuzzleException;
/**
* 分销提现成功发送消息
*/
class MessageFenxiaoWithdrawalSuccess
{
/**
* @param $param
* @return void|null
* @throws GuzzleException
*/
public function handle($param)
{
//发送订单消息
if ($param[ "keywords" ] == "FENXIAO_WITHDRAWAL_SUCCESS") {
$model = new FenxiaoWithdraw();
return $model->messageFenxiaoWithdrawalSuccess($param);
}
}
}

View File

@@ -0,0 +1,30 @@
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* =========================================================
*/
namespace app\event\message;
use app\model\member\Member;
/**
* 找回密码发送验证码
*/
class MessageFindCode
{
public function handle($param)
{
if ($param[ "keywords" ] == "FIND_PASSWORD") {
$member_model = new Member();
$result = $member_model->findCode($param);
return $result;
}
}
}

View File

@@ -0,0 +1,41 @@
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* =========================================================
*/
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* =========================================================
*/
namespace app\event\message;
use app\model\order\OrderMessage;
/**
* 外卖订单 指定配送员后 同步短信推送
*/
class MessageLocalWaitDelivery
{
public function handle($param)
{
//发送订单消息
if ($param["keywords"] == "MESSAGE_LOCAL_WAIT_DELIVERY") {
$model = new OrderMessage();
return $model->messageLocalWaitDelivery($param);
}
}
}

View File

@@ -0,0 +1,31 @@
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* =========================================================
*/
namespace app\event\message;
use app\model\member\Login;
/**
* 登录成功发送通知
*/
class MessageLogin
{
public function handle($param)
{
//发送订单消息
if ($param[ "keywords" ] == "LOGIN") {
$login_model = new Login();
$result = $login_model->loginSuccess($param);
return $result;
}
}
}

View File

@@ -0,0 +1,32 @@
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* =========================================================
*/
namespace app\event\message;
use app\model\member\Login;
/**
* 登录发送验证码
*/
class MessageLoginCode
{
public function handle($param)
{
//发送订单消息
if ($param["keywords"] == "LOGIN_CODE") {
$login_model = new Login();
$result = $login_model->loginCode($param);
return $result;
}
}
}

View File

@@ -0,0 +1,32 @@
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* =========================================================
*/
namespace app\event\message;
use app\model\member\Member;
/**
* 登录成功发送通知
*/
class MessageMemberPayPassword
{
public function handle($param)
{
//发送订单消息
if ($param["keywords"] == "MEMBER_PAY_PASSWORD") {
$member_model = new Member();
$result = $member_model->paypasswordCode($param);
return $result;
}
}
}

View File

@@ -0,0 +1,37 @@
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* =========================================================
*/
namespace app\event\message;
use app\model\order\OrderMessage;
use GuzzleHttp\Exception\GuzzleException;
/**
* 订单关闭发送消息
*/
class MessageOrderClose
{
/**
* @param $param
* @return void|null
* @throws GuzzleException
*/
public function handle($param)
{
//发送订单消息
if ($param["keywords"] == "ORDER_CLOSE") {
//发送订单消息
$model = new OrderMessage();
return $model->messageOrderClose($param);
}
}
}

View File

@@ -0,0 +1,30 @@
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和使用。
* 任何企业和个人不允许对程序代码以任何形式任何目的再发布。
* =========================================================
*/
namespace app\event\message;
use addon\fenxiao\model\FenxiaoWithdraw;
/**
* 分销佣金发放通知
*/
class MessageOrderCommissionGrant
{
public function handle($param)
{
//发送订单消息
if ($param["keywords"] == "COMMISSION_GRANT") {
$model = new FenxiaoWithdraw();
return $model->messageOrderCommissionGrant($param);
}
}
}

View File

@@ -0,0 +1,36 @@
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* =========================================================
*/
namespace app\event\message;
use app\model\order\OrderMessage;
use GuzzleHttp\Exception\GuzzleException;
/**
* 订单关闭发送消息
*/
class MessageOrderComplete
{
/**
* @param $param
* @return void|null
* @throws GuzzleException
*/
public function handle($param)
{
// 发送订单消息
if ($param["keywords"] == "ORDER_COMPLETE") {
$model = new OrderMessage();
return $model->messageOrderComplete($param);
}
}
}

View File

@@ -0,0 +1,36 @@
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* =========================================================
*/
namespace app\event\message;
use app\model\order\OrderMessage;
use GuzzleHttp\Exception\GuzzleException;
/**
* 订单发货发送消息
*/
class MessageOrderDelivery
{
/**
* @param $param
* @return void|null
* @throws GuzzleException
*/
public function handle($param)
{
// 发送订单消息
if ($param["keywords"] == "ORDER_DELIVERY") {
$model = new OrderMessage();
return $model->messageOrderDelivery($param);
}
}
}

View File

@@ -0,0 +1,33 @@
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* =========================================================
*/
namespace app\event\message;
use app\model\order\OrderMessage;
/**
* 订单创建发送消息
*/
class MessageOrderPaySuccess
{
/**
* @param $param
* @return array|mixed|void
*/
public function handle($param)
{
//发送订单消息
if ($param['keywords'] == 'ORDER_PAY') {
$model = new OrderMessage();
$model->messagePaySuccess($param);
}
}
}

View File

@@ -0,0 +1,33 @@
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* =========================================================
*/
namespace app\event\message;
use app\model\order\OrderMessage;
use GuzzleHttp\Exception\GuzzleException;
class MessageOrderRefundApply
{
/**
* @param $param
* @return void|null
* @throws GuzzleException
*/
public function handle($param)
{
// 发送订单消息
if ($param["keywords"] == "BUYER_REFUND") {
$model = new OrderMessage();
return $model->messageOrderRefundApply($param);
}
}
}

View File

@@ -0,0 +1,32 @@
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* =========================================================
*/
namespace app\event\message;
use app\model\order\OrderMessage;
use GuzzleHttp\Exception\GuzzleException;
class MessageOrderRefundDelivery
{
/**
* @param $param
* @return void|null
* @throws GuzzleException
*/
public function handle($param)
{
// 发送订单消息
if ($param[ "keywords" ] == "BUYER_DELIVERY_REFUND") {
$model = new OrderMessage();
return $model->messageOrderRefundDelivery($param);
}
}
}

View File

@@ -0,0 +1,35 @@
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和使用。
* 任何企业和个人不允许对程序代码以任何形式任何目的再发布。
* =========================================================
*/
namespace app\event\message;
use app\model\order\OrderMessage;
/**
* 订单催付通知
*/
class MessageOrderUrgePayment
{
/**
* @param $param
* @return void|null
*/
public function handle($param)
{
//发送订单消息
if ($param['keywords'] == 'ORDER_URGE_PAYMENT') {
$model = new OrderMessage();
return $model->messageOrderUrgePayment($param);
}
}
}

View File

@@ -0,0 +1,31 @@
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* =========================================================
*/
namespace app\event\message;
use app\model\member\Member;
/**
* 绑定发送验证码
*/
class MessagePayPasswordCode
{
public function handle($param)
{
//发送订单消息
if ($param[ "keywords" ] == "MEMBER_PAY_PASSWORD") {
$member_model = new Member();
$result = $member_model->paypasswordCode($param);
return $result;
}
}
}

View File

@@ -0,0 +1,35 @@
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* =========================================================
*/
namespace app\event\message;
use app\model\member\Register;
/**
* 注册发送验证码
*/
class MessageRegisterCode
{
/**
* @param $param
* @return array|mixed|void
*/
public function handle($param)
{
//发送订单消息
if ($param[ "keywords" ] == "REGISTER_CODE") {
$register_model = new Register();
$result = $register_model->registerCode($param);
return $result;
}
}
}

View File

@@ -0,0 +1,41 @@
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* =========================================================
*/
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* =========================================================
*/
namespace app\event\message;
use app\model\member\Member;
/**
* 设置密码
*/
class MessageSetPassWord
{
public function handle($param)
{
//发送订单消息
if ($param[ "keywords" ] == "SET_PASSWORD") {
$member_model = new Member();
$result = $member_model->bindCode($param);
return $result;
}
}
}

View File

@@ -0,0 +1,33 @@
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* =========================================================
*/
namespace app\event\message;
use app\model\order\OrderMessage;
use GuzzleHttp\Exception\GuzzleException;
class MessageShopRefundAgree
{
/**
* @param $param
* @return void|null
* @throws GuzzleException
*/
public function handle($param)
{
// 发送订单消息
if ($param["keywords"] == "ORDER_REFUND_AGREE") {
$model = new OrderMessage();
return $model->messageOrderRefundAgree($param);
}
}
}

View File

@@ -0,0 +1,33 @@
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* =========================================================
*/
namespace app\event\message;
use app\model\order\OrderMessage;
use GuzzleHttp\Exception\GuzzleException;
class MessageShopRefundRefuse
{
/**
* @param $param
* @return void|null
* @throws GuzzleException
*/
public function handle($param)
{
// 发送订单消息
if ($param["keywords"] == "ORDER_REFUND_REFUSE") {
$model = new OrderMessage();
return $model->messageOrderRefundRefuse($param);
}
}
}

View File

@@ -0,0 +1,33 @@
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* =========================================================
*/
namespace app\event\message;
use app\model\order\OrderMessage;
use GuzzleHttp\Exception\GuzzleException;
class MessageShopVerified
{
/**
* @param $param
* @return void|null
* @throws GuzzleException
*/
public function handle($param)
{
// 发送订单消息
if ($param["keywords"] == "VERIFY") {
$model = new OrderMessage();
return $model->messageOrderVerify($param);
}
}
}

View File

@@ -0,0 +1,36 @@
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* =========================================================
*/
namespace app\event\message;
use app\model\member\Withdraw;
use GuzzleHttp\Exception\GuzzleException;
/**
* 会员提现申请发送消息
*/
class MessageUserWithdrawalApply
{
/**
* @param $param
* @return void|null
* @throws GuzzleException
*/
public function handle($param)
{
//发送订单消息
if ($param["keywords"] == "USER_WITHDRAWAL_APPLY") {
$model = new Withdraw();
return $model->messageUserWithdrawalApply($param);
}
}
}

View File

@@ -0,0 +1,36 @@
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* =========================================================
*/
namespace app\event\message;
use app\model\member\Withdraw;
use GuzzleHttp\Exception\GuzzleException;
/**
* 会员提现失败发送消息
*/
class MessageUserWithdrawalError
{
/**
* @param $param
* @return void|null
* @throws GuzzleException
*/
public function handle($param)
{
//发送订单消息
if ($param["keywords"] == "USER_WITHDRAWAL_ERROR") {
$model = new Withdraw();
return $model->messageUserWithdrawalError($param);
}
}
}

View File

@@ -0,0 +1,36 @@
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* =========================================================
*/
namespace app\event\message;
use app\model\member\Withdraw;
use GuzzleHttp\Exception\GuzzleException;
/**
* 会员提现成功发送消息
*/
class messageUserWithdrawalSuccess
{
/**
* @param $param
* @return void|null
* @throws GuzzleException
*/
public function handle($param)
{
//发送订单消息
if ($param["keywords"] == "USER_WITHDRAWAL_SUCCESS") {
$model = new Withdraw();
return $model->messageUserWithdrawalSuccess($param);
}
}
}

View File

@@ -0,0 +1,34 @@
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和使用。
* 任何企业和个人不允许对程序代码以任何形式任何目的再发布。
* =========================================================
*/
namespace app\event\message;
use app\model\order\OrderMessage;
/**
* 核销码过期提醒
*/
class MessageVerifyCodeExpire
{
/**
* @param $param
* @return void|null
*/
public function handle($param)
{
if ($param["keywords"] == "VERIFY_CODE_EXPIRE") {
$model = new OrderMessage();
return $model->messageVerifyCodeExpire($param);
}
}
}

View File

@@ -0,0 +1,34 @@
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和使用。
* 任何企业和个人不允许对程序代码以任何形式任何目的再发布。
* =========================================================
*/
namespace app\event\message;
use app\model\order\OrderMessage;
/**
* 核销商品临期提醒
*/
class MessageVerifyOrderOutTime
{
/**
* @param $param
* @return void|null
*/
public function handle($param)
{
if ($param["keywords"] == "ORDER_VERIFY_OUT_TIME") {
$model = new OrderMessage();
return $model->messageVerifyOrderOutTime($param);
}
}
}