forked from w7corp/easywechat
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
110 additions
and
191 deletions.
There are no files selected for viewing
39 changes: 0 additions & 39 deletions
39
src/Applications/OpenPlatform/EventHandlers/Authorized.php
This file was deleted.
Oops, something went wrong.
38 changes: 0 additions & 38 deletions
38
src/Applications/OpenPlatform/EventHandlers/EventHandler.php
This file was deleted.
Oops, something went wrong.
39 changes: 0 additions & 39 deletions
39
src/Applications/OpenPlatform/EventHandlers/Unauthorized.php
This file was deleted.
Oops, something went wrong.
39 changes: 0 additions & 39 deletions
39
src/Applications/OpenPlatform/EventHandlers/UpdateAuthorized.php
This file was deleted.
Oops, something went wrong.
23 changes: 23 additions & 0 deletions
23
src/Applications/OpenPlatform/Server/Handlers/Authorized.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the overtrue/wechat. | ||
* | ||
* (c) overtrue <[email protected]> | ||
* | ||
* This source file is subject to the MIT license that is bundled | ||
* with this source code in the file LICENSE. | ||
*/ | ||
|
||
namespace EasyWeChat\Applications\OpenPlatform\Server\Handlers; | ||
|
||
class Authorized extends EventHandler | ||
{ | ||
/** | ||
* {@inheritdoc}. | ||
*/ | ||
public function handle($message) | ||
{ | ||
// Do nothing for the time being. | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,23 +9,7 @@ | |
* with this source code in the file LICENSE. | ||
*/ | ||
|
||
/** | ||
* ComponentVerifyTicket.php. | ||
* | ||
* Part of Overtrue\WeChat. | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
* | ||
* @author mingyoung <[email protected]> | ||
* @author lixiao <[email protected]> | ||
* @copyright 2016 | ||
* | ||
* @see https://github.com/overtrue | ||
* @see http://overtrue.me | ||
*/ | ||
|
||
namespace EasyWeChat\Applications\OpenPlatform\EventHandlers; | ||
namespace EasyWeChat\Applications\OpenPlatform\Server\Handlers; | ||
|
||
use EasyWeChat\Applications\OpenPlatform\Core\VerifyTicket; | ||
|
||
|
22 changes: 22 additions & 0 deletions
22
src/Applications/OpenPlatform/Server/Handlers/EventHandler.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the overtrue/wechat. | ||
* | ||
* (c) overtrue <[email protected]> | ||
* | ||
* This source file is subject to the MIT license that is bundled | ||
* with this source code in the file LICENSE. | ||
*/ | ||
|
||
namespace EasyWeChat\Applications\OpenPlatform\Server\Handlers; | ||
|
||
abstract class EventHandler | ||
{ | ||
/** | ||
* Handle an incoming event message from WeChat server-side. | ||
* | ||
* @param \EasyWeChat\Support\Collection $message | ||
*/ | ||
abstract public function handle($message); | ||
} |
23 changes: 23 additions & 0 deletions
23
src/Applications/OpenPlatform/Server/Handlers/Unauthorized.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the overtrue/wechat. | ||
* | ||
* (c) overtrue <[email protected]> | ||
* | ||
* This source file is subject to the MIT license that is bundled | ||
* with this source code in the file LICENSE. | ||
*/ | ||
|
||
namespace EasyWeChat\Applications\OpenPlatform\Server\Handlers; | ||
|
||
class Unauthorized extends EventHandler | ||
{ | ||
/** | ||
* {@inheritdoc}. | ||
*/ | ||
public function handle($message) | ||
{ | ||
// Do nothing for the time being. | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
src/Applications/OpenPlatform/Server/Handlers/UpdateAuthorized.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the overtrue/wechat. | ||
* | ||
* (c) overtrue <[email protected]> | ||
* | ||
* This source file is subject to the MIT license that is bundled | ||
* with this source code in the file LICENSE. | ||
*/ | ||
|
||
namespace EasyWeChat\Applications\OpenPlatform\Server\Handlers; | ||
|
||
class UpdateAuthorized extends EventHandler | ||
{ | ||
/** | ||
* {@inheritdoc} | ||
*/ | ||
public function handle($message) | ||
{ | ||
// Do nothing for the time being. | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters