底层新增部门和账号二合一接口
This commit is contained in:
25
Server/application/library/s2/logics/AccountLogic.php
Normal file
25
Server/application/library/s2/logics/AccountLogic.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
namespace app\library\s2\logics;
|
||||
|
||||
use app\library\s2\interfaces\AccountInterface;
|
||||
use app\library\s2\interfaces\LoginInterface;
|
||||
|
||||
class AccountLogic implements AccountInterface, LoginInterface
|
||||
{
|
||||
public function create(string $accout, string $password)
|
||||
{
|
||||
// TODO: Implement create() method.
|
||||
}
|
||||
|
||||
public function login(string $accout, string $password): LoginInterface
|
||||
{
|
||||
// TODO: Implement login() method.
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function delete(int $id)
|
||||
{
|
||||
// TODO: Implement delete() method.
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user