mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 09:49:19 +08:00
refactor(org): 迁移账户模块至 company/account,重构公司拥有者创建账户逻辑并统一拥有者文案与注释
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user