底层新增部门和账号二合一接口

This commit is contained in:
wong
2025-04-15 08:56:26 +08:00
parent e782077fba
commit ae8624b198
14 changed files with 716 additions and 30 deletions

View 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.
}
}