42 lines
1.2 KiB
C#
42 lines
1.2 KiB
C#
using DotNetCore.CAP;
|
|
using Microsoft.AspNetCore.Authorization;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using Microsoft.Extensions.Logging;
|
|
using Seyounth.Auto.Hs.Runtime.Printer;
|
|
using Syc.Authorize.JwtBearer;
|
|
using Syc.Basic.Web.Services;
|
|
using Syc.Basic.Web.WMS.Dtos.Auth;
|
|
using Syc.Basic.Web.WMS.Entitys;
|
|
using Syc.Basic.Web.WMS.IServices;
|
|
using Syc.Basic.Web.WMS.Repository;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Volo.Abp.Domain.Repositories;
|
|
|
|
namespace Syc.Basic.Web.WMS.Service
|
|
{
|
|
[AllowAnonymous]
|
|
public class TestService:ApiService
|
|
{
|
|
private readonly IPrinterService printerService;
|
|
private readonly IRepository<AutoLabel> autoReposutory;
|
|
private readonly ILogger<AutoService> logger;
|
|
|
|
public TestService(IPrinterService PrinterService, IRepository<AutoLabel> AutoReposutory, ILogger<AutoService> logger)
|
|
{
|
|
printerService = PrinterService;
|
|
autoReposutory = AutoReposutory;
|
|
this.logger = logger;
|
|
}
|
|
|
|
[HttpGet]
|
|
public async Task<object> GetTest()
|
|
{
|
|
return "admin";
|
|
}
|
|
}
|
|
}
|