You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.4 KiB
58 lines
1.4 KiB
using BBWY.Server.Business;
|
|
using BBWY.Server.Model.Db;
|
|
using BBWY.Server.Model.Dto;
|
|
using Microsoft.AspNetCore.Http;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace BBWY.Server.API.Controllers
|
|
{
|
|
public class TestController : BaseApiController
|
|
{
|
|
private IFreeSql fsql;
|
|
private TestBusiness testBusiness;
|
|
public TestController(IHttpContextAccessor httpContextAccessor, IFreeSql fsql, TestBusiness testBusiness) : base(httpContextAccessor)
|
|
{
|
|
this.fsql = fsql;
|
|
this.testBusiness = testBusiness;
|
|
}
|
|
|
|
[HttpPost]
|
|
public void StatisticsProduct()
|
|
{
|
|
testBusiness.StatisticsProduct();
|
|
|
|
}
|
|
|
|
[HttpPost]
|
|
public void RepairSkuDetailAndSkuGriooProfit([FromBody] RepairSkuDetailAndSkuGriooProfit request)
|
|
{
|
|
testBusiness.RepairSkuDetailAndSkuGriooProfit(request);
|
|
}
|
|
|
|
[HttpPost]
|
|
public void DeleteJDTask()
|
|
{
|
|
testBusiness.DeleteJDTask();
|
|
}
|
|
|
|
[HttpPost]
|
|
public void RepairOrderProfit()
|
|
{
|
|
testBusiness.RepairOrderProfit();
|
|
}
|
|
|
|
[HttpPost]
|
|
public void RepairDFOrder()
|
|
{
|
|
testBusiness.RepairDFOrder();
|
|
}
|
|
|
|
[HttpPost]
|
|
public void Test_20231221()
|
|
{
|
|
testBusiness.Test_20231221();
|
|
}
|
|
}
|
|
}
|
|
|