VistarStarDataIntegration/admin.net.pro/Admin.NET/Vistar.Application/SolidWorksManageService/Dto/CreateProjectInput.cs
bairubing 6a1234444e 更新 SolidWorks 管理相关常量和逻辑
在 `ConfigConst.cs` 中添加 `SolidWorksManageApiUrlNew` 和 `SolidWorksManageAuthorizationNew` 常量。
修改多个类的截止时间为 `2025年8月31日`。
新增 `RefreshManageToKenNew` 类以刷新新版 Manage Token。
在 `OaOpenInterfaceService.cs` 中统一字段类型为 `CreateProjectField`。
添加 `CreateProcessInput` 和 `CreateProcessField` 类以处理创建流程的输入数据。
在 `SolidWorksManageService.cs` 中新增获取新版 token 的方法,并更新相关 API 地址和授权信息。
移除 `index.vue` 中的调试用 `console.log` 语句。
2025-07-15 13:42:10 +08:00

30 lines
1.1 KiB
C#

// Admin.NET 项目的版权、商标、专利和其他相关权利均受相应法律法规的保护。使用本项目应遵守相关法律法规和许可证的要求。
//
// 本项目主要遵循 MIT 许可证和 Apache 许可证(版本 2.0)进行分发和使用。许可证位于源代码树根目录中的 LICENSE-MIT 和 LICENSE-APACHE 文件。
//
// 不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Vistar.Application.SolidWorksManageService.Dto;
/// <summary>
/// 创建项目输入参数
/// </summary>
public class CreateProjectInput
{
public long object_id { get; set; }
public long field_group_id { get; set; }
//public long template_id { get; set; }
public List<CreateProjectField> fields { get; set; }
}
public class CreateProjectField
{
public string key { get; set; }
public string value { get; set; }
}