Explorar el Código

测试BUG

Lishi
xxe hace 2 años
padre
commit
4a41f89f80
Se han modificado 2 ficheros con 9 adiciones y 9 borrados
  1. +1
    -1
      HKCardManager/options.json
  2. +8
    -8
      HKLib/Interfaces/HKLibHelper.cs

+ 1
- 1
HKCardManager/options.json Ver fichero

@@ -1,5 +1,5 @@
{
//服务地址
//服务地址 "http://192.168.1.43:5000/"
"SaasRoute": "https://bpa.black-pa.com:21528/kitchen/",
//加盟商Id
"TenantId": "78d635f7-8ee4-4be4-b26a-462016196826",


+ 8
- 8
HKLib/Interfaces/HKLibHelper.cs Ver fichero

@@ -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;


Cargando…
Cancelar
Guardar