代码提交
This commit is contained in:
23
Server/extend/library/s2/interfaces/AccountInterface.php
Normal file
23
Server/extend/library/s2/interfaces/AccountInterface.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace library\s2\interfaces;
|
||||
|
||||
interface AccountInterface
|
||||
{
|
||||
/**
|
||||
* 创建账号
|
||||
*
|
||||
* @param string $accout
|
||||
* @param string $password
|
||||
* @return mixed
|
||||
*/
|
||||
public function create(string $accout, string $password);
|
||||
|
||||
/**
|
||||
* 删除账号
|
||||
*
|
||||
* @param int $id
|
||||
* @return mixed
|
||||
*/
|
||||
public function delete(int $id);
|
||||
}
|
||||
Reference in New Issue
Block a user