增加老版本 KJDWebService
This commit is contained in:
1 parent
58abbb5b4f
commit
f84c4c1949
115 files changed
+36598
-18
No files matched your search
@@ -0,0 +1,36 @@
|
||||
using Asp.Versioning;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using StoreHub.KJDWebService.Services;
|
||||
|
||||
namespace StoreHub.KJDWebService.Controllers
|
||||
{
|
||||
[ApiController]
|
||||
[ApiVersionNeutral]
|
||||
[Route("wxxd_shop_revenue_statistics/[action]")]
|
||||
public class WXShopRevenueStatisticsController : BaseApiController
|
||||
{
|
||||
private readonly WXShopRevenueStatisticsService _wXShopRevenueStatisticsService;
|
||||
|
||||
public WXShopRevenueStatisticsController(WXShopRevenueStatisticsService wXShopRevenueStatisticsService)
|
||||
{
|
||||
_wXShopRevenueStatisticsService = wXShopRevenueStatisticsService;
|
||||
}
|
||||
|
||||
[AcceptVerbs("GET", "POST")]
|
||||
public IActionResult get_shop_order_amount()
|
||||
{
|
||||
|
||||
string jsontext = GetRequestJsonString();
|
||||
|
||||
var result = jsontext;
|
||||
result = _wXShopRevenueStatisticsService.GetShopOrderAmountRange(jsontext);
|
||||
|
||||
return WriteJson(result);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user