|
|
@@ -30,9 +30,10 @@ namespace HKLib.Interfaces |
|
|
|
{ |
|
|
|
return IHttpMultiClient.HttpMulti.AddNode(t => |
|
|
|
{ |
|
|
|
t.NodePath = $"{Configer.SaasRoute}/{input}"; |
|
|
|
t.ReqType = MultiType.GET; |
|
|
|
}).Build().RunStringFirst().ToModel<JObject>()["data"].ToString(); |
|
|
|
t.NodePath = $"{Configer.SaasRoute}/api/one-card/member-tag"; |
|
|
|
t.ReqType = MultiType.POST; |
|
|
|
t.JsonParam = (new { Name = input }).ToJson(); |
|
|
|
}).Build().RunStringFirst().ToModel<JObject>()["data"]["id"].ToString(); |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary> |
|
|
@@ -42,8 +43,8 @@ namespace HKLib.Interfaces |
|
|
|
{ |
|
|
|
return IHttpMultiClient.HttpMulti.AddNode(t => |
|
|
|
{ |
|
|
|
t.NodePath = $"{Configer.SaasRoute}"; |
|
|
|
t.ReqType = MultiType.POST; |
|
|
|
t.NodePath = $"{Configer.SaasRoute}/api/one-card/member-tag"; |
|
|
|
t.ReqType = MultiType.PUT; |
|
|
|
t.JsonParam = (new { Name = input, Id = Sid }).ToJson(); |
|
|
|
}).Build().RunStringFirst().ToModel<JObject>()["isSuccess"].ToString().AsBool(); |
|
|
|
} |
|
|
|