Commit 9bda5655 by Neo Turing

优化

parent 094e496a
...@@ -952,7 +952,8 @@ namespace Kivii.Sample.ImageUploader ...@@ -952,7 +952,8 @@ namespace Kivii.Sample.ImageUploader
request.OwnerKvid = currentReport.SampleKvid; request.OwnerKvid = currentReport.SampleKvid;
request.FolderPath = "/Samples/Images"; request.FolderPath = "/Samples/Images";
request.FolderType = "Jst.Lims.Entities.Sample"; request.FolderType = "Jst.Lims.Entities.Sample";
request.Tags = photo.Tags.IsNullOrEmpty() ? tags : photo.Tags; if (currentReport.SampleKvid != Guid.Empty) request.Tags = "底页图片";
else request.Tags = photo.Tags.IsNullOrEmpty() ? tags : photo.Tags;
try try
{ {
var response = _client.PostFileWithRequest<FileResponse>(new FileInfo(filename), request); var response = _client.PostFileWithRequest<FileResponse>(new FileInfo(filename), request);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment