feat: 新增账号状态管理、头像功能与报表工具,完善账号系统
新增账号状态字段与停用校验,支持账号头像上传管理,新增物料收发汇总表合并工具,优化银行卡检查脚本,新增ERP登录复用模块,重构账号数据库迁移与管理接口
This commit is contained in:
@@ -84,6 +84,12 @@ export async function adminAccountDelete(body) {
|
||||
body: JSON.stringify(body)
|
||||
})
|
||||
}
|
||||
export async function adminAvatarUpload(account, file) {
|
||||
const fd = new FormData()
|
||||
fd.append('file', file)
|
||||
const qs = new URLSearchParams({ account })
|
||||
return req('/api/admin/avatar?' + qs.toString(), { method: 'POST', headers: adminHeaders(), body: fd })
|
||||
}
|
||||
export async function adminPluginDelete(body) {
|
||||
return req('/api/admin/plugin/delete', {
|
||||
method: 'POST',
|
||||
|
||||
Reference in New Issue
Block a user