public async Task <OutputBase> UpdateAdmin(Administrator admin) { await _repository.UpdateAdmin(admin); return(_unitWork.Commit() ? OutputBase.Success("更新成功") : OutputBase.Fail("更新失败")); }