|
|
@@ -30,18 +30,13 @@ namespace MySystem.Areas.Api.Controllers.v1
|
|
|
[Route("/v1/pri/PriLog/getPriLogDetail")]
|
|
|
public Dictionary<string, object> Set(string value)
|
|
|
{
|
|
|
- // StreamReader sr = new StreamReader(Request.Body);
|
|
|
- // string requestMes = sr.ReadToEnd();
|
|
|
- // JsonData json = JsonMapper.ToObject(requestMes);
|
|
|
- // string value = AesDecrypt(json["content"].ToString(), "kvS4TIRh7Yulg4nr");
|
|
|
- // string value = AesDecrypt(requestMes, "kvS4TIRh7Yulg4nr");
|
|
|
function.WriteLog(DateTime.Now.ToString() + "\n" + value, "获取奖励日志");
|
|
|
JsonData data = JsonMapper.ToObject(value);
|
|
|
string DataNo = data["data_no"].ToString();
|
|
|
string PrizeKind = "0"; //data["prize_kind"].ToString();
|
|
|
|
|
|
string content = function.PostWebRequest("https://logic-executor.kexiaoshuang.com/noauth/pri/logdetail", "value={\"data_no\":\"" + DataNo + "\",\"prize_kind\":\"" + PrizeKind + "\"}");
|
|
|
- content = content.Replace("null", "\"\"");
|
|
|
+ content = content.Replace(": null", ": \"\"");
|
|
|
Dictionary<string, object> result = new Dictionary<string, object>();
|
|
|
JsonData json = JsonMapper.ToObject(content);
|
|
|
result.Add("data", json["data"].ToJson());
|