初始化本地仓库
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
/**
|
||||
*+------------------
|
||||
* madong
|
||||
*+------------------
|
||||
* Copyright (c) https://gitee.com/motion-code All rights reserved.
|
||||
*+------------------
|
||||
* Author: Mr. April (405784684@qq.com)
|
||||
*+------------------
|
||||
* Official Website: http://www.madong.tech
|
||||
*/
|
||||
|
||||
namespace core\interface;
|
||||
|
||||
interface IEnum
|
||||
{
|
||||
public function label():string;
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
/**
|
||||
*+------------------
|
||||
* madong
|
||||
*+------------------
|
||||
* Copyright (c) https://gitee.com/motion-code All rights reserved.
|
||||
*+------------------
|
||||
* Author: Mr. April (405784684@qq.com)
|
||||
*+------------------
|
||||
* Official Website: https://madong.tech
|
||||
*/
|
||||
|
||||
namespace core\interface;
|
||||
|
||||
interface IRequestInterface
|
||||
{
|
||||
/**
|
||||
* 获取POST参数.
|
||||
*/
|
||||
public function getMore(array $params, ?bool $suffix = null): array;
|
||||
|
||||
/**
|
||||
* 获取GET参数.
|
||||
*/
|
||||
public function postMore(array $params, ?bool $suffix = null): array;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user