Skip to content

Commit

Permalink
部署版本的资源长度使用500
Browse files Browse the repository at this point in the history
  • Loading branch information
nnhy committed Jan 21, 2024
1 parent ff46d47 commit 176b2f0
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Stardust.Data/Deployment/Model.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<EntityModel xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:schemaLocation="https://newlifex.com https://newlifex.com/Model202309.xsd" Document="https://newlifex.com/xcode/model" xmlns="https://newlifex.com/Model202309.xsd">
<Option>
<!--类名模板。其中{name}替换为Table.Name,如{name}Model/I{name}Dto等-->
Expand Down Expand Up @@ -118,7 +118,7 @@
<Column Name="AppId" DataType="Int32" Description="应用部署集。对应AppDeploy" />
<Column Name="Version" DataType="String" Master="True" Nullable="False" Description="版本。如2.3.2022.0911,字符串比较大小" />
<Column Name="Enable" DataType="Boolean" Description="启用" />
<Column Name="Url" DataType="String" ItemType="file" Length="-1" Description="资源地址。一般打包为Zip包,StarAgent下载后解压缩覆盖" />
<Column Name="Url" DataType="String" ItemType="file" Length="500" Description="资源地址。一般打包为Zip包,StarAgent下载后解压缩覆盖" />
<Column Name="Overwrite" DataType="String" Length="100" Description="覆盖文件。需要拷贝覆盖已存在的文件或子目录,支持*模糊匹配,多文件分号隔开。如果目标文件不存在,配置文件等自动拷贝" />
<Column Name="Size" DataType="Int64" ItemType="GMK" Description="文件大小" />
<Column Name="Hash" DataType="String" Description="文件哈希。MD5散列,避免下载的文件有缺失" />
Expand Down
2 changes: 1 addition & 1 deletion Stardust.Data/Deployment/Stardust.htm
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@ <h3>部署版本(AppDeployVersion)</h3>
<td>Url</td>
<td>资源地址</td>
<td>String</td>
<td>50</td>
<td>500</td>
<td></td>
<td></td>
<td></td>
Expand Down
4 changes: 2 additions & 2 deletions Stardust.Data/Deployment/部署版本.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.Serialization;
Expand Down Expand Up @@ -58,7 +58,7 @@ public partial class AppDeployVersion
/// <summary>资源地址。一般打包为Zip包,StarAgent下载后解压缩覆盖</summary>
[DisplayName("资源地址")]
[Description("资源地址。一般打包为Zip包,StarAgent下载后解压缩覆盖")]
[DataObjectField(false, false, true, -1)]
[DataObjectField(false, false, true, 500)]
[BindColumn("Url", "资源地址。一般打包为Zip包,StarAgent下载后解压缩覆盖", "", ItemType = "file")]
public String Url { get => _Url; set { if (OnPropertyChanging("Url", value)) { _Url = value; OnPropertyChanged("Url"); } } }

Expand Down
2 changes: 1 addition & 1 deletion Stardust.Data/Stardust.Data.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="NewLife.XCode" Version="11.10.2024.112-beta1221" />
<PackageReference Include="NewLife.XCode" Version="11.10.2024.120-beta1613" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

namespace Stardust.Web.Areas.Monitors.Controllers;

[Menu(65)]
[Menu(65, false)]
[MonitorsArea]
public class TraceItemController : EntityController<TraceItem>
{
Expand Down
2 changes: 1 addition & 1 deletion Stardust.Web/Stardust.Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="NewLife.Cube.Core" Version="6.0.2024.116-beta1525" />
<PackageReference Include="NewLife.Cube.Core" Version="6.0.2024.121-beta1536" />
<PackageReference Include="NewLife.Redis" Version="5.6.2024.105" />
</ItemGroup>

Expand Down

0 comments on commit 176b2f0

Please sign in to comment.