|
@@ -27,7 +27,7 @@ namespace MySystem.Areas.Api.Controllers.v1.Main1
|
|
|
[Authorize]
|
|
[Authorize]
|
|
|
public JsonResult DirectList(string value)
|
|
public JsonResult DirectList(string value)
|
|
|
{
|
|
{
|
|
|
- value = PublicFunction.DesDecrypt(value); ;
|
|
|
|
|
|
|
+ value = PublicFunction.DesDecrypt(value);
|
|
|
JsonData data = JsonMapper.ToObject(value);
|
|
JsonData data = JsonMapper.ToObject(value);
|
|
|
Dictionary<string, object> Other = new Dictionary<string, object>();
|
|
Dictionary<string, object> Other = new Dictionary<string, object>();
|
|
|
List<Dictionary<string, object>> dataList = DirectListDo(value, out Other);
|
|
List<Dictionary<string, object>> dataList = DirectListDo(value, out Other);
|
|
@@ -108,6 +108,7 @@ namespace MySystem.Areas.Api.Controllers.v1.Main1
|
|
|
|
|
|
|
|
dataList.Add(curData);
|
|
dataList.Add(curData);
|
|
|
}
|
|
}
|
|
|
|
|
+ Other.Add("Count", count); //总数
|
|
|
return dataList;
|
|
return dataList;
|
|
|
}
|
|
}
|
|
|
#endregion
|
|
#endregion
|
|
@@ -118,7 +119,7 @@ namespace MySystem.Areas.Api.Controllers.v1.Main1
|
|
|
[Authorize]
|
|
[Authorize]
|
|
|
public JsonResult DirectQueryFailReason(string value)
|
|
public JsonResult DirectQueryFailReason(string value)
|
|
|
{
|
|
{
|
|
|
- value = PublicFunction.DesDecrypt(value); ;
|
|
|
|
|
|
|
+ value = PublicFunction.DesDecrypt(value);
|
|
|
JsonData data = JsonMapper.ToObject(value);
|
|
JsonData data = JsonMapper.ToObject(value);
|
|
|
Dictionary<string, object> Obj = DirectQueryFailReasonDo(value);
|
|
Dictionary<string, object> Obj = DirectQueryFailReasonDo(value);
|
|
|
return Json(new AppResultJson() { Status = "1", Info = "", Data = Obj });
|
|
return Json(new AppResultJson() { Status = "1", Info = "", Data = Obj });
|
|
@@ -151,7 +152,7 @@ namespace MySystem.Areas.Api.Controllers.v1.Main1
|
|
|
[Authorize]
|
|
[Authorize]
|
|
|
public JsonResult DirectDetail(string value)
|
|
public JsonResult DirectDetail(string value)
|
|
|
{
|
|
{
|
|
|
- value = PublicFunction.DesDecrypt(value); ;
|
|
|
|
|
|
|
+ value = PublicFunction.DesDecrypt(value);
|
|
|
JsonData data = JsonMapper.ToObject(value);
|
|
JsonData data = JsonMapper.ToObject(value);
|
|
|
Dictionary<string, object> Obj = DirectDetailDo(value);
|
|
Dictionary<string, object> Obj = DirectDetailDo(value);
|
|
|
return Json(new AppResultJson() { Status = "1", Info = "", Data = Obj });
|
|
return Json(new AppResultJson() { Status = "1", Info = "", Data = Obj });
|
|
@@ -172,7 +173,7 @@ namespace MySystem.Areas.Api.Controllers.v1.Main1
|
|
|
[Authorize]
|
|
[Authorize]
|
|
|
public JsonResult DirectSubmit(string value)
|
|
public JsonResult DirectSubmit(string value)
|
|
|
{
|
|
{
|
|
|
- value = PublicFunction.DesDecrypt(value); ;
|
|
|
|
|
|
|
+ value = PublicFunction.DesDecrypt(value);
|
|
|
JsonData data = JsonMapper.ToObject(value);
|
|
JsonData data = JsonMapper.ToObject(value);
|
|
|
AppResultJson result = DirectSubmitDo(value);
|
|
AppResultJson result = DirectSubmitDo(value);
|
|
|
return Json(new AppResultJson() { Status = result.Status, Info = result.Info, Data = result.Data });
|
|
return Json(new AppResultJson() { Status = result.Status, Info = result.Info, Data = result.Data });
|
|
@@ -199,7 +200,7 @@ namespace MySystem.Areas.Api.Controllers.v1.Main1
|
|
|
[Authorize]
|
|
[Authorize]
|
|
|
public JsonResult DirectQueryMerchantTradeInfo(string value)
|
|
public JsonResult DirectQueryMerchantTradeInfo(string value)
|
|
|
{
|
|
{
|
|
|
- value = PublicFunction.DesDecrypt(value); ;
|
|
|
|
|
|
|
+ value = PublicFunction.DesDecrypt(value);
|
|
|
JsonData data = JsonMapper.ToObject(value);
|
|
JsonData data = JsonMapper.ToObject(value);
|
|
|
Dictionary<string, object> Obj = DirectQueryMerchantTradeInfoDo(value);
|
|
Dictionary<string, object> Obj = DirectQueryMerchantTradeInfoDo(value);
|
|
|
return Json(new AppResultJson() { Status = "1", Info = "", Data = Obj });
|
|
return Json(new AppResultJson() { Status = "1", Info = "", Data = Obj });
|
|
@@ -226,7 +227,7 @@ namespace MySystem.Areas.Api.Controllers.v1.Main1
|
|
|
[Authorize]
|
|
[Authorize]
|
|
|
public JsonResult DirectAddPIDOrWeChatNo(string value)
|
|
public JsonResult DirectAddPIDOrWeChatNo(string value)
|
|
|
{
|
|
{
|
|
|
- value = PublicFunction.DesDecrypt(value); ;
|
|
|
|
|
|
|
+ value = PublicFunction.DesDecrypt(value);
|
|
|
JsonData data = JsonMapper.ToObject(value);
|
|
JsonData data = JsonMapper.ToObject(value);
|
|
|
AppResultJson result = DirectAddPIDOrWeChatNoDo(value);
|
|
AppResultJson result = DirectAddPIDOrWeChatNoDo(value);
|
|
|
return Json(new AppResultJson() { Status = result.Status, Info = result.Info, Data = result.Data });
|
|
return Json(new AppResultJson() { Status = result.Status, Info = result.Info, Data = result.Data });
|