步步为盈
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.

47 lines
1.2 KiB

3 years ago
using BBWY.Server.Business;
using BBWY.Server.Model.Db;
2 years ago
using BBWY.Server.Model.Dto;
using Microsoft.AspNetCore.Http;
3 years ago
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
namespace BBWY.Server.API.Controllers
{
public class TestController : BaseApiController
{
private IFreeSql fsql;
3 years ago
private TestBusiness testBusiness;
public TestController(IHttpContextAccessor httpContextAccessor, IFreeSql fsql, TestBusiness testBusiness) : base(httpContextAccessor)
3 years ago
{
this.fsql = fsql;
3 years ago
this.testBusiness = testBusiness;
3 years ago
}
3 years ago
[HttpPost]
2 years ago
public void StatisticsProduct()
3 years ago
{
2 years ago
testBusiness.StatisticsProduct();
2 years ago
}
[HttpPost]
public void RepairSkuDetailAndSkuGriooProfit([FromBody] RepairSkuDetailAndSkuGriooProfit request)
{
testBusiness.RepairSkuDetailAndSkuGriooProfit(request);
}
2 years ago
[HttpPost]
public void DeleteJDTask()
{
testBusiness.DeleteJDTask();
}
2 years ago
[HttpPost]
public void RepairOrderProfit()
{
testBusiness.RepairOrderProfit();
}
3 years ago
}
}