服务端的TigerApi 框架,基于.NET6 2024 版本
Ben Lin
2024-07-05 5fe26555029f1a941e5a3418c28499a534138a62
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using Tiger.Model;
using Rhea.Common;
using Tiger.Model.SeaStone.Shelf;
using System.Threading;
using SqlSugar;
using Tiger.Model.Minsun;
using Tiger.IBusiness;
using Autofac;
using Tiger.Api.iBiz;
 
namespace Tiger.Api.Controllers.Test
{
    /// <summary>
    /// 测试控制器
    /// </summary>
    public partial class TestController : ControllerBase
    {
        [HttpPost]
        public async Task<IActionResult> Test_Z([FromBody] ApiAction action)
        {
            _jiao.ZTest();
            return Ok(action.GetResponse());
        }
        [HttpPost]
        public async Task<IActionResult> InRecp_ScanItemAsync([FromBody] ApiAction<BaseInput> action)
        {
            var aa = iBiz.WMS.WmsItem.Get(action.Data.SN, action.Data.AuthOption, false);
            return Ok(action);
        }
 
    }
}