123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <?php
- namespace loyalsoft;
- /**
- * 框架封装的一部分通用/常见Event.
- * @version
- * 1.0.0 Created at 2017-8-28. by --gwang
- * @author gwang (mail@wanggangzero.cn)
- * @copyright ? 2017-8-28, SJZ LoyalSoft Corporation & gwang. All rights reserved.
- */
- class EventProc
- {
- //put your code here
- static function Init()
- {
- Event::register('onpay', UserProfile::OnPay);
- }
- /**
- * 收到请求
- */
- static function OnRequest()
- {
- }
- /**
- * 处理完毕准备返回
- */
- static function AfterResponse()
- {
- }
- /**
- * 当天第一次登录
- */
- static function OnNewDay()
- {
- }
- /**
- * 当周第一次登录(周一)
- */
- static function OnNewWeek()
- {
- }
- }
|