.
This commit is contained in:
@@ -235,7 +235,7 @@ public class FlowerApiController : BaseController
|
||||
f.Photos = database.Photos.Where(p => p.FlowerId == f.Id && p.RecordId == null).ToList();
|
||||
foreach (var photo in f.Photos)
|
||||
{
|
||||
photo.Url = $"photo/flower/{f.Id}/{photo.Path}";
|
||||
photo.Url = $"photo/flower/{f.Id}/{photo.Path}?thumb=1";
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -532,7 +532,7 @@ public class FlowerApiController : BaseController
|
||||
};
|
||||
AddPhotoItem(cover);
|
||||
|
||||
await WriteToFile(item.Id, file, token);
|
||||
await WriteToFile(item.Id, file, token: token);
|
||||
});
|
||||
}
|
||||
catch (Exception ex)
|
||||
@@ -753,7 +753,7 @@ public class FlowerApiController : BaseController
|
||||
};
|
||||
AddPhotoItem(cover);
|
||||
|
||||
await WriteToFile(update.Id, file, token);
|
||||
await WriteToFile(update.Id, file, token: token);
|
||||
});
|
||||
}
|
||||
catch (Exception ex)
|
||||
@@ -854,7 +854,7 @@ public class FlowerApiController : BaseController
|
||||
};
|
||||
AddPhotoItem(cover);
|
||||
|
||||
await WriteToFile(param.Id, file, token);
|
||||
await WriteToFile(param.Id, file, token: token);
|
||||
});
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
Reference in New Issue
Block a user