配置项

This commit is contained in:
Jimmy 2021-10-23 14:15:45 +08:00
parent fd8cbae9cf
commit 6f80f02cb5
3 changed files with 7 additions and 19 deletions

View File

@ -188,7 +188,8 @@ namespace MineTec.ProManager.GalleryFiles
string root = Dir.Parent.Parent.FullName;//获取当前站点路径 string root = Dir.Parent.Parent.FullName;//获取当前站点路径
string webRootPath = @"D:\FileStore\"; //保存文件路径 string webRootPath = @"D:\FileStore\"; //保存文件路径--本地测试
//string webRootPath = @"D:\ProMananger\WebApi\wwwroot"; //保存文件路径--服务器
string uploadPath = Path.Combine("uploads", DateTime.Now.ToString("yyyyMMdd"));//增加日期文件夹 string uploadPath = Path.Combine("uploads", DateTime.Now.ToString("yyyyMMdd"));//增加日期文件夹
string dirPath = Path.Combine(webRootPath, uploadPath); string dirPath = Path.Combine(webRootPath, uploadPath);
//创建路径 //创建路径

View File

@ -325,13 +325,12 @@
( (
[Id] ASC [Id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY] ) ON [PRIMARY];
GO;
ALTER TABLE GalleryFiles ALTER COLUMN annex_id NVARCHAR(50); ALTER TABLE GalleryFiles ADD annex_id NVARCHAR(50) NULL DEFAULT '';
ALTER TABLE GalleryFiles ALTER COLUMN card_id NVARCHAR(50); ALTER TABLE GalleryFiles ADD card_id NVARCHAR(50) NULL DEFAULT '';
ALTER TABLE GalleryFiles ALTER COLUMN annex_url NVARCHAR(300); ALTER TABLE GalleryFiles ADD annex_url NVARCHAR(300) NULL DEFAULT '';
ALTER TABLE GalleryFiles ALTER COLUMN card_url NVARCHAR(300); ALTER TABLE GalleryFiles ADD card_url NVARCHAR(300) NULL DEFAULT '';
</sql> </sql>
</DB> </DB>

View File

@ -49,21 +49,9 @@
"child": [ "child": [
{ {
"title": "产品图号管理", "title": "产品图号管理",
"href": "page/Graphic/GalleryInformation/GalleryInformationList.html",
"icon": "fa fa-file-text-o",
"target": "_self"
},
{
"title": "测试",
"href": "page/Graphic/PatternManager/PatternTreeList.html", "href": "page/Graphic/PatternManager/PatternTreeList.html",
"icon": "fa fa-file-text-o", "icon": "fa fa-file-text-o",
"target": "_self" "target": "_self"
},
{
"title": "参考",
"href": "page/Graphic/GalleryInformation/GalleryInformationList.html",
"icon": "fa fa-file-text-o",
"target": "_self"
} }
] ]
} }