调整所有返工接口的响应返回数据,为兼容RPC调用做支持
This commit is contained in:
25
Server/extend/library/s2/logics/AccountLogic.php
Normal file
25
Server/extend/library/s2/logics/AccountLogic.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
namespace library\s2\logics;
|
||||
|
||||
use library\s2\interfaces\AccountInterface;
|
||||
use 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