2022-10-18 19:27:58 +08:00
|
|
|
|
using Microsoft.AspNetCore.Authorization;
|
|
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
using Yi.Framework.Common.Models;
|
2023-01-01 23:06:11 +08:00
|
|
|
|
using Yi.Framework.Interface.SHOP;
|
|
|
|
|
|
using Yi.Framework.Model.SHOP.Entitys;
|
2022-10-18 19:27:58 +08:00
|
|
|
|
using Yi.Framework.Repository;
|
|
|
|
|
|
using Yi.Framework.WebCore;
|
|
|
|
|
|
using Yi.Framework.WebCore.AttributeExtend;
|
|
|
|
|
|
using Yi.Framework.WebCore.AuthorizationPolicy;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Yi.Framework.ApiMicroservice.Controllers
|
|
|
|
|
|
{
|
|
|
|
|
|
[ApiController]
|
|
|
|
|
|
[Route("api/[controller]/[action]")]
|
|
|
|
|
|
public class SpecsController : BaseCrudController<SpecsEntity>
|
|
|
|
|
|
{
|
|
|
|
|
|
private ISpecsService _iSpecsService;
|
|
|
|
|
|
public SpecsController(ILogger<SpecsEntity> logger, ISpecsService iSpecsService) : base(logger, iSpecsService)
|
|
|
|
|
|
{
|
|
|
|
|
|
_iSpecsService = iSpecsService;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|