mirror of
https://gitee.com/ctexthuang/hyperf-micro-svc.git
synced 2026-02-08 10:20:16 +08:00
first commit
This commit is contained in:
16
app/Lib/Return/AdminReturn.php
Normal file
16
app/Lib/Return/AdminReturn.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace App\Lib\Return;
|
||||
|
||||
class AdminReturn extends CommonReturn
|
||||
{
|
||||
/**
|
||||
* 通用返回
|
||||
* @param array $res
|
||||
* @return array
|
||||
*/
|
||||
final protected function afterSuccess(array $res): array
|
||||
{
|
||||
return $res;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user