hyh
|
6aadfe9de5
|
refactor: 创建DeviceInfoResponse模型,优化API响应结构
- 新增DeviceInfoResponse模型,专门用于API响应
- 移除API响应中的IsSuccess字段,确保响应简洁
- 修改GetSerialNumberCommand返回类型为ApiActionResult<DeviceInfoResponse>
- 更新GetSerialNumberCommandHandler使用DeviceInfoResponse
- 实现清晰的职责分离:DeviceInfo用于内部状态判断,DeviceInfoResponse用于API响应
- 确保API响应不包含内部实现细节
|
1 week ago |
hyh
|
fee41aaf7d
|
feat: 添加设备序列号获取功能,遵循DDD设计架构
- 新增DeviceInfo模型,包含IsSuccess字段用于状态判断
- 实现IDeviceService接口和DeviceService实现类
- 支持Windows和Linux系统序列号获取
- 修复ParseSerialNumber方法,支持Linux输出格式解析
- 创建GetSerialNumberCommand和GetSerialNumberCommandHandler
- 添加SystemController API控制器
- 修复CS0234编译错误,添加System.Net引用
- 更新依赖注入配置
- 完善错误处理和日志记录
|
1 week ago |
root
|
4d48747480
|
start ApiActionResult 放回枚举
|
2 months ago |
root
|
517327eda3
|
Refactor network configuration and cellular network services
|
2 months ago |
root
|
33aff69cad
|
feat: 更新蜂窝网络相关功能
|
2 months ago |
root
|
eb92e6d421
|
去除冗余文件 已经修改命名空间
|
2 months ago |
root
|
312767d944
|
feat: 优化网络配置相关功能,包括配置文件的复制逻辑和路径管理
|
2 months ago |
root
|
3de14aee8b
|
Update network configuration and refactor network services
|
2 months ago |
hyh
|
4601f0bc12
|
映射
|
2 months ago |
hyh
|
12e931419e
|
更新网络服务相关代码和配置
|
2 months ago |
hyh
|
b1266616d7
|
重构:优化项目结构和代码组织
|
2 months ago |
root
|
d38d939f0e
|
Update project structure and add new features
|
2 months ago |
root
|
acdc447bb4
|
Initial commit with .gitignore and project files
|
2 months ago |