1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- // using System;
- // using System.Collections.Generic;
- // using System.Linq;
- // using Microsoft.AspNetCore.Mvc;
- // using Microsoft.AspNetCore.Http;
- // using Microsoft.Extensions.Logging;
- // using Microsoft.Extensions.Options;
- // using Microsoft.AspNetCore.Authorization;
- // using System.Web;
- // using MySystem.Models.Main;
- // using LitJson;
- // using Library;
- // using System.Data;
- // using MySystem.Service.Main;
- // namespace MySystem.Areas.Api.Controllers.v1
- // {
- // [Area("Api")]
- // [Route("Api/v1/[controller]/[action]")]
- // public class WorkSpaceController : BaseController
- // {
- // public WorkSpaceController(IHttpContextAccessor accessor) : base(accessor)
- // {
- // }
- // #region 工作台-交易统计
- // [Authorize]
- // public JsonResult TradeAmount(string value)
- // {
- // value = DesDecrypt(value);
- // JsonData data = JsonMapper.ToObject(value);
- // Dictionary<string, object> Obj = TradeAmountDo(value);
- // return Json(new AppResultJson() { Status = "1", Info = "", Data = Obj });
- // }
- // private Dictionary<string, object> TradeAmountDo(string value)
- // {
- // JsonData data = JsonMapper.ToObject(value);
- // string Kind = data["Kind"].ToString(); //通道类型(1 原生 2 好哒)
- // int MerchantId = int.Parse(function.CheckInt(data["MerchantId"].ToString())); //商户
- // string TradeMonth = data["TradeMonth"].ToString(); //月份
- // string TradeDate = data["TradeDate"].ToString(); //日期
- // Dictionary<string, object> Obj = new Dictionary<string, object>();
- // Merchantamountsummay query = new Merchantamountsummay();
- // int Id = int.Parse(function.CheckInt(data["Id"].ToString()));
- // query = MerchantamountsummayService.Query(Id);
- // Obj.Add("TradeAmount", query.Tradeamount); //订单金额
- // return Obj;
- // }
- // #endregion
- // }
- // }
|