|
|
@@ -24,9 +24,11 @@ namespace HKCardOUT.Logic |
|
|
|
{ |
|
|
|
var data = IHttpMultiClient.HttpMulti.AddNode(t => |
|
|
|
{ |
|
|
|
t.NodePath = ApiRoute.CheckCardStatus + CardNo; |
|
|
|
}).Build().RunStringFirst().ToModel<JObject>()["data"]["cardState"].ToString().AsInt(); |
|
|
|
return data; |
|
|
|
t.NodePath = ApiRoute.CheckCardStatus; |
|
|
|
t.ReqType = MultiType.POST; |
|
|
|
t.JsonParam = (new { cardNum = CardNo }).ToJson(); |
|
|
|
}).Build().RunStringFirst().ToModel<JObject>()["data"]["cardState"]; |
|
|
|
return data != null ? data.ToString().AsInt() : 0; |
|
|
|
} |
|
|
|
/// <summary> |
|
|
|
/// 同步消费记录 |
|
|
|