This commit is contained in:
2026-03-30 11:07:30 +08:00
parent 2c44b3a4b2
commit d4a8e71733
74 changed files with 1751 additions and 421 deletions

View File

@@ -2,6 +2,7 @@ using System.Data.Common;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using StopShopping.EF;
using StopShopping.Services.Models;
using StopShopping.Services.Models.Req;
using StopShopping.Services.Models.Resp;
@@ -182,8 +183,8 @@ public class CategoryService : ICategoryService
{
Id = model.Id,
LogoUrl = string.IsNullOrWhiteSpace(model.Logo)
? ""
: _fileService.GetFileUrl(Models.UploadScences.Category, model.Logo),
? ""
: _fileService.GetFileUrl(UploadScences.Category, model.Logo),
Name = model.Name,
Order = model.Order,
ParentId = model.ParentId,