|
|
@@ -83,13 +83,13 @@ namespace HKLib.Interfaces |
|
|
|
/// <returns></returns> |
|
|
|
public static bool DelOrg(string Id) |
|
|
|
{ |
|
|
|
var data = IHttpMultiClient.HttpMulti |
|
|
|
.AddHeader(t => t.Headers = Header) |
|
|
|
.AddNode(t => |
|
|
|
{ |
|
|
|
t.NodePath = $"{Configer.SaasRoute}api/one-card/member-tag/{Id}"; |
|
|
|
t.ReqType = MultiType.DELETE; |
|
|
|
}).Build().RunStringFirst(); |
|
|
|
var data = IHttpMultiClient.HttpMulti |
|
|
|
.AddHeader(t => t.Headers = Header) |
|
|
|
.AddNode(t => |
|
|
|
{ |
|
|
|
t.NodePath = $"{Configer.SaasRoute}api/one-card/member-tag/{Id}"; |
|
|
|
t.ReqType = MultiType.DELETE; |
|
|
|
}).Build().RunStringFirst(); |
|
|
|
var res = data.ToModel<JObject>()["data"]["isSuccess"].ToString().AsBool(); |
|
|
|
return res; |
|
|
|
} |
|
|
@@ -101,7 +101,7 @@ namespace HKLib.Interfaces |
|
|
|
/// <returns></returns> |
|
|
|
public static List<OrgDto> GetOrg() |
|
|
|
{ |
|
|
|
var data = IHttpMultiClient.HttpMulti.AddNode(t => |
|
|
|
var data = IHttpMultiClient.HttpMulti.AddHeader(t => t.Headers = Header).AddNode(t => |
|
|
|
{ |
|
|
|
t.NodePath = $"{Configer.SaasRoute}api/one-card/member-tag-list"; |
|
|
|
t.ReqType = MultiType.GET; |
|
|
|