refactor(org): 迁移账户模块至 company/account,重构公司拥有者创建账户逻辑并统一拥有者文案与注释

This commit is contained in:
小蟑螂
2026-05-25 18:13:53 +08:00
parent 2f44eaa9d2
commit d4bfa4d257
21 changed files with 156 additions and 53 deletions
@@ -8,14 +8,14 @@ import type { AccountDTO, AccountVO } from './types';
*/
/**
* 创建账户(管理员)
* 创建账户(拥有者)
*/
export async function admin_createAccountApi(data: AccountDTO.CreateAccountDTO) {
return requestClient.post<AccountVO.AccountInfoVO>('/company/account/create', data);
}
/**
* 分页查询账户(管理员)
* 分页查询账户(拥有者)
*/
export async function admin_getAccountPageApi(params: PageQueryDTO<AccountDTO.AccountFilterDTO>) {
return requestClient.post<PageResultVO<AccountVO.AccountInfoVO>>('/company/account/list', params);