Parcourir la source

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

田爽 il y a 1 an
Parent
commit
c4690afef7

+ 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; }
     }