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

34 lines
820 B

3 years ago
using BBWY.Server.Business;
using BBWY.Server.Model.Db;
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();
}
[HttpPost]
public void XiuFu()
{
testBusiness.XiuFu();
}
3 years ago
}
}