File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
WebApiClientCore/Parameters Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ public async Task RunRequestAsync()
2626 } ;
2727
2828 // 上传的文件
29- var file = new FormDataFile ( "TextFile .txt" ) ;
29+ var file = new FormDataFile ( "文件TextFile .txt" ) ;
3030
3131 var response = await userApi . GetAsync ( account : "get1" ) ;
3232
Original file line number Diff line number Diff line change 11using System ;
2+ using System . ComponentModel ;
23using System . Diagnostics ;
34using System . IO ;
45using System . Text ;
@@ -32,6 +33,8 @@ public class FormDataFile : IApiParameter
3233 /// <summary>
3334 /// 获取编码后的文件好友名称
3435 /// </summary>
36+ [ EditorBrowsable ( EditorBrowsableState . Never ) ]
37+ [ DebuggerBrowsable ( DebuggerBrowsableState . Never ) ]
3538 public virtual string ? EncodedFileName => HttpUtil . UrlEncode ( this . FileName , Encoding . UTF8 ) ;
3639
3740 /// <summary>
You can’t perform that action at this time.
0 commit comments