浏览代码

Merge branch 'master' of http://110.188.24.182:10023/Fengwo/hotline

田爽 1 年之前
父节点
当前提交
c4690afef7
共有 2 个文件被更改,包括 4 次插入0 次删除
  1. 2 0
      src/Tr.Sdk/Blacklist/DelBlacklistRequest.cs
  2. 2 0
      src/Tr.Sdk/Blacklist/QueryBlacklistRequest.cs

+ 2 - 0
src/Tr.Sdk/Blacklist/DelBlacklistRequest.cs

@@ -13,6 +13,8 @@ namespace Tr.Sdk.Blacklist
 
         public override Method HttpMethod() => Method.Post;
 
+
+        [RequestProperty(Name ="phone")]
         public string Phone { get; set; }
 
         /// <summary>

+ 2 - 0
src/Tr.Sdk/Blacklist/QueryBlacklistRequest.cs

@@ -14,11 +14,13 @@ namespace Tr.Sdk.Blacklist
 
         public override Method HttpMethod() => Method.Get;
 
+        [RequestProperty(Name ="phone")]
         public string? Phone { get; set; }
 
         /// <summary>
         /// 1:白名单;2:呼入黑名单;3:呼出黑名单;4:呼入呼出黑名单;
         /// </summary>
+        [RequestProperty(Name = "special_flag")]
         public int? SpecialFlag { get; set; }
     }