first commit
This commit is contained in:
1
金壶/ydyd_service/application/exceptions/.pydio
Normal file
1
金壶/ydyd_service/application/exceptions/.pydio
Normal file
@@ -0,0 +1 @@
|
||||
ce93117c-e947-4299-831c-f0b1ddbf13c2
|
||||
20
金壶/ydyd_service/application/exceptions/Exception.php
Normal file
20
金壶/ydyd_service/application/exceptions/Exception.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace app\exceptions;
|
||||
|
||||
use \Throwable;
|
||||
class Exception extends \Exception
|
||||
{
|
||||
private $data;
|
||||
public function __construct($message = "", $code = 0, $previous = null, $data = null)
|
||||
{
|
||||
parent::__construct($message, $code, $previous);
|
||||
$this->data = $data;
|
||||
}
|
||||
|
||||
public function getReturnData()
|
||||
{
|
||||
return $this->data;
|
||||
}
|
||||
}
|
||||
8
金壶/ydyd_service/application/exceptions/PayException.php
Normal file
8
金壶/ydyd_service/application/exceptions/PayException.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace app\exceptions;
|
||||
|
||||
class PayException extends Exception
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user