chore: 重写初始提交(清空历史,整理后全量提交)
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | YwxApp [ WE CAN DO IT JUST THINK ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2026-2036 http://ywxapp.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: ywxapp<admin@ywxapp.cn>
|
||||
// +----------------------------------------------------------------------
|
||||
namespace addon\wxchat\subscribe;
|
||||
|
||||
/**
|
||||
* Member 类
|
||||
*
|
||||
* @author ywxapp <admin@ywxapp.cn>
|
||||
*/
|
||||
class Member
|
||||
{
|
||||
|
||||
public function onUserLogin($user)
|
||||
{
|
||||
echo "用户登录事件触发,用户ID: " . $user['id'] . "\n";
|
||||
// UserLogin事件响应处理
|
||||
}
|
||||
|
||||
|
||||
public function onUserLogout($user)
|
||||
{
|
||||
echo $user;
|
||||
// UserLogout事件响应处理
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user