用 WebClient.UploadData 方法 上载文件数据

 
假如某网站有个表单,例如(url: http://localhost/login.aspx):
帐号
密码

我们需要在程序中提交数据到这个表单,对于这种表单,我们可以使用 WebClient.UploadData 方法来实现,将所要上传的数据拼成字符即可,程序很简单:
 
 
string uriString = " http://localhost/login.aspx " ; // 创建一个新的 WebClient 实例. WebClient myWebClient = new WebClient(); string postData = " Username=admin&Password=admin " ; // 注意这种拼字符串的ContentType myWebClient.Headers.Add( " Content-Type " , " application/x-www-form-urlencoded " ); // 转化成二进制数组 byte [] byteArray = Encoding.ASCII.GetBytes(postData); // 上传数据,并获取返回的二进制数据. byte [] responseArray = myWebClient.UploadData(uriString, " POST " ,byteArray);

对于文件上传类的表单,例如(url: http://localhost/uploadFile.aspx):
文件

对于这种表单,我们可以使用
 
 
String uriString = " http://localhost/uploadFile.aspx " ; // 创建一个新的 WebClient 实例. WebClient myWebClient = new WebClient(); string fileName = @" C:\upload.txt " ; // 直接上传,并获取返回的二进制数据. byte [] responseArray = myWebClient.UploadFile(uriString, " POST " ,fileName);

还有一种表单,不仅有文字,还有文件,例如(url: http://localhost/uploadData.aspx):
文件名
文件

对于这种表单,似乎前面的两种方法都不能适用,对于第一种方法,不能直接拼字符串,对于第二种,我们只能传文件,重新回到第一个方法,注意参数:
public byte[] UploadData(
   string address,
   string method,
   byte[] data
);
在第一个例子中,是通过拼字符串来得到byte[] data参数值的,对于这种表单显然不行,反过来想想,对于uploadData.aspx这样的程序来说,直接通过网页提交数据,后台所获取到的流是什么样的呢?(在我以前的一篇blog中,曾分析过这个问题: asp无组件上传进度条解决方案),最终的数据如下:
-----------------------------7d429871607fe
Content-Disposition: form-data; name="file1"; filename="G:\homepage.txt"
Content-Type: text/plain
宝玉:http://www.webuc.net
-----------------------------7d429871607fe
Content-Disposition: form-data; name="filename"
default filename
-----------------------------7d429871607fe--

所以只要拼一个这样的byte[] data数据Post过去,就可以达到同样的效果了。但是一定要注意,对于这种带有文件上传的,其ContentType是不一样的,例如上面的这种,其ContentType为"multipart/form-data; boundary=---------------------------7d429871607fe"。有了ContentType,我们就可以知道boundary(就是上面的"---------------------------7d429871607fe"),知道boundary了我们就可以构造出我们所需要的byte[] data了,最后,不要忘记,把我们构造的ContentType传到WebClient中(例如:webClient.Headers.Add("Content-Type", ContentType);)这样,就可以通过WebClient.UploadData 方法上载文件数据了。

具体代码如下:
生成二进制数据类的封装
 
 
None.gif using System; None.gif using System.Web; None.gif using System.IO; None.gif using System.Net; None.gif using System.Text; None.gif using System.Collections; None.gifNone.gif namespace UploadData.Common ExpandedBlockStart.gifContractedBlock.gif ... { ExpandedSubBlockStart.gifContractedSubBlock.gif/**//// <summary> InBlock.gif/// 创建WebClient.UploadData方法所需二进制数组 ExpandedSubBlockEnd.gif/// </summary> InBlock.gif public class CreateBytes ExpandedSubBlockStart.gifContractedSubBlock.gif...{ InBlock.gif Encoding encoding = Encoding.UTF8; InBlock.gifExpandedSubBlockStart.gifContractedSubBlock.gif/**//// <summary> InBlock.gif/// 拼接所有的二进制数组为一个数组 InBlock.gif/// </summary> InBlock.gif/// <param name="byteArrays">数组</param> InBlock.gif/// <returns></returns> ExpandedSubBlockEnd.gif/// <remarks>加上结束边界</remarks> InBlock.gif public byte[] JoinBytes(ArrayList byteArrays) ExpandedSubBlockStart.gifContractedSubBlock.gif...{ InBlock.gifint length = 0; InBlock.gifint readLength = 0; InBlock.gifInBlock.gif// 加上结束边界 InBlock.gif string endBoundary = Boundary + "--\r\n"; //结束边界 InBlock.gif byte[] endBoundaryBytes = encoding.GetBytes(endBoundary); InBlock.gif byteArrays.Add(endBoundaryBytes); InBlock.gifInBlock.gifforeach(byte[] b in byteArrays) ExpandedSubBlockStart.gifContractedSubBlock.gif...{ InBlock.gif length += b.Length; ExpandedSubBlockEnd.gif } InBlock.gifbyte[] bytes = new byte[length]; InBlock.gifInBlock.gif// 遍历复制 InBlock.gif// InBlock.gif foreach(byte[] b in byteArrays) ExpandedSubBlockStart.gifContractedSubBlock.gif...{ InBlock.gif b.CopyTo(bytes, readLength); InBlock.gif readLength += b.Length; ExpandedSubBlockEnd.gif } InBlock.gifInBlock.gifreturn bytes; ExpandedSubBlockEnd.gif } InBlock.gifInBlock.gifpublic bool UploadData(string uploadUrl, byte[] bytes, out byte[] responseBytes) ExpandedSubBlockStart.gifContractedSubBlock.gif...{ InBlock.gif WebClient webClient = new WebClient(); InBlock.gif webClient.Headers.Add("Content-Type", ContentType); InBlock.gifInBlock.giftry ExpandedSubBlockStart.gifContractedSubBlock.gif...{ InBlock.gif responseBytes = webClient.UploadData(uploadUrl, bytes); InBlock.gifreturn true; ExpandedSubBlockEnd.gif } InBlock.gifcatch (WebException ex) ExpandedSubBlockStart.gifContractedSubBlock.gif...{ InBlock.gif Stream resp = ex.Response.GetResponseStream(); InBlock.gif responseBytes = new byte[ex.Response.ContentLength]; InBlock.gif resp.Read(responseBytes, 0, responseBytes.Length); ExpandedSubBlockEnd.gif } InBlock.gifreturn false; ExpandedSubBlockEnd.gif } InBlock.gifInBlock.gifInBlock.gifExpandedSubBlockStart.gifContractedSubBlock.gif/**//// <summary> InBlock.gif/// 获取普通表单区域二进制数组 InBlock.gif/// </summary> InBlock.gif/// <param name="fieldName">表单名</param> InBlock.gif/// <param name="fieldValue">表单值</param> InBlock.gif/// <returns></returns> InBlock.gif/// <remarks> InBlock.gif/// -----------------------------7d52ee27210a3c\r\nContent-Disposition: form-data; name=\"表单名\"\r\n\r\n表单值\r\n ExpandedSubBlockEnd.gif/// </remarks> InBlock.gif public byte[] CreateFieldData(string fieldName, string fieldValue) ExpandedSubBlockStart.gifContractedSubBlock.gif...{ InBlock.gifstring textTemplate = Boundary + "\r\nContent-Disposition: form-data; name=\"{0}\"\r\n\r\n{1}\r\n"; InBlock.gifstring text = String.Format(textTemplate, fieldName, fieldValue); InBlock.gifbyte[] bytes = encoding.GetBytes(text); InBlock.gifreturn bytes; ExpandedSubBlockEnd.gif } InBlock.gifInBlock.gifExpandedSubBlockStart.gifContractedSubBlock.gif/**//// <summary> InBlock.gif/// 获取文件上传表单区域二进制数组 InBlock.gif/// </summary> InBlock.gif/// <param name="fieldName">表单名</param> InBlock.gif/// <param name="filename">文件名</param> InBlock.gif/// <param name="contentType">文件类型</param> InBlock.gif/// <param name="contentLength">文件长度</param> InBlock.gif/// <param name="stream">文件流</param> ExpandedSubBlockEnd.gif/// <returns>二进制数组</returns> InBlock.gif public byte[] CreateFieldData(string fieldName, string filename,string contentType, byte[] fileBytes) ExpandedSubBlockStart.gifContractedSubBlock.gif...{ InBlock.gifstring end = "\r\n"; InBlock.gifstring textTemplate = Boundary + "\r\nContent-Disposition: form-data; name=\"{0}\"; filename=\"{1}\"\r\nContent-Type: {2}\r\n\r\n"; InBlock.gifInBlock.gif// 头数据 InBlock.gif string data = String.Format(textTemplate, fieldName, filename, contentType); InBlock.gifbyte[] bytes = encoding.GetBytes(data); InBlock.gifInBlock.gifInBlock.gifInBlock.gif// 尾数据 InBlock.gif byte[] endBytes = encoding.GetBytes(end); InBlock.gifInBlock.gif// 合成后的数组 InBlock.gif byte[] fieldData = new byte[bytes.Length + fileBytes.Length + endBytes.Length]; InBlock.gifInBlock.gif bytes.CopyTo(fieldData, 0); // 头数据 InBlock.gif fileBytes.CopyTo(fieldData, bytes.Length); // 文件的二进制数据 InBlock.gif endBytes.CopyTo(fieldData, bytes.Length + fileBytes.Length); // \r\n InBlock.gif InBlock.gifreturn fieldData; ExpandedSubBlockEnd.gif } InBlock.gifInBlock.gifContractedSubBlock.gifExpandedSubBlockStart.gif属性#region 属性 InBlock.gifpublic string Boundary ExpandedSubBlockStart.gifContractedSubBlock.gif...{ InBlock.gifget ExpandedSubBlockStart.gifContractedSubBlock.gif...{ InBlock.gifstring[] bArray, ctArray; InBlock.gifstring contentType = ContentType; InBlock.gif ctArray = contentType.Split(';'); InBlock.gifif (ctArray[0].Trim().ToLower() == "multipart/form-data") ExpandedSubBlockStart.gifContractedSubBlock.gif...{ InBlock.gif bArray = ctArray[1].Split('='); InBlock.gifreturn "--" + bArray[1]; ExpandedSubBlockEnd.gif } InBlock.gifreturn null; ExpandedSubBlockEnd.gif } ExpandedSubBlockEnd.gif } InBlock.gifInBlock.gifpublic string ContentType ExpandedSubBlockStart.gifContractedSubBlock.gif...{ ExpandedSubBlockStart.gifContractedSubBlock.gifget ...{ InBlock.gifif (HttpContext.Current == null) ExpandedSubBlockStart.gifContractedSubBlock.gif...{ InBlock.gifreturn "multipart/form-data; boundary=---------------------------7d5b915500cee"; ExpandedSubBlockEnd.gif } InBlock.gifreturn HttpContext.Current.Request.ContentType; ExpandedSubBlockEnd.gif } ExpandedSubBlockEnd.gif } ExpandedSubBlockEnd.gif#endregion ExpandedSubBlockEnd.gif } ExpandedBlockEnd.gif} None.gif

在Winform中调用

 
 
None.gif using System; None.gif using System.Drawing; None.gif using System.Collections; None.gif using System.ComponentModel; None.gif using System.Windows.Forms; None.gif using System.Data; None.gifNone.gif using UploadData.Common; None.gif using System.IO; None.gifNone.gif namespace UploadDataWin ExpandedBlockStart.gifContractedBlock.gif ... { ExpandedSubBlockStart.gifContractedSubBlock.gif/**//// <summary> InBlock.gif/// frmUpload 的摘要说明。 ExpandedSubBlockEnd.gif/// </summary> InBlock.gif public class frmUpload : System.Windows.Forms.Form ExpandedSubBlockStart.gifContractedSubBlock.gif...{ InBlock.gifprivate System.Windows.Forms.Label lblAmigoToken; InBlock.gifprivate System.Windows.Forms.TextBox txtAmigoToken; InBlock.gifprivate System.Windows.Forms.Label lblFilename; InBlock.gifprivate System.Windows.Forms.TextBox txtFilename; InBlock.gifprivate System.Windows.Forms.Button btnBrowse; InBlock.gifprivate System.Windows.Forms.TextBox txtFileData; InBlock.gifprivate System.Windows.Forms.Label lblFileData; InBlock.gifprivate System.Windows.Forms.Button btnUpload; InBlock.gifprivate System.Windows.Forms.OpenFileDialog openFileDialog1; InBlock.gifprivate System.Windows.Forms.TextBox txtResponse; ExpandedSubBlockStart.gifContractedSubBlock.gif/**//// <summary> InBlock.gif/// 必需的设计器变量。 ExpandedSubBlockEnd.gif/// </summary> InBlock.gif private System.ComponentModel.Container components = null; InBlock.gifInBlock.gifpublic frmUpload() ExpandedSubBlockStart.gifContractedSubBlock.gif...{ InBlock.gif// InBlock.gif// Windows 窗体设计器支持所必需的 InBlock.gif// InBlock.gif InitializeComponent(); InBlock.gifInBlock.gif// InBlock.gif// TODO: 在 InitializeComponent 调用后添加任何构造函数代码 InBlock.gif// ExpandedSubBlockEnd.gif } InBlock.gifExpandedSubBlockStart.gifContractedSubBlock.gif/**//// <summary> InBlock.gif/// 清理所有正在使用的资源。 ExpandedSubBlockEnd.gif/// </summary> InBlock.gif protected override void Dispose( bool disposing ) ExpandedSubBlockStart.gifContractedSubBlock.gif...{ InBlock.gifif( disposing ) ExpandedSubBlockStart.gifContractedSubBlock.gif...{ InBlock.gifif (components != null) ExpandedSubBlockStart.gifContractedSubBlock.gif...{ InBlock.gif components.Dispose(); ExpandedSubBlockEnd.gif } ExpandedSubBlockEnd.gif } InBlock.gifbase.Dispose( disposing ); ExpandedSubBlockEnd.gif } InBlock.gifContractedSubBlock.gifExpandedSubBlockStart.gifWindows 窗体设计器生成的代码#region Windows 窗体设计器生成的代码 ExpandedSubBlockStart.gifContractedSubBlock.gif/**//// <summary> InBlock.gif/// 设计器支持所需的方法 - 不要使用代码编辑器修改 InBlock.gif/// 此方法的内容。 ExpandedSubBlockEnd.gif/// </summary> InBlock.gif private void InitializeComponent() ExpandedSubBlockStart.gifContractedSubBlock.gif...{ InBlock.gifthis.lblAmigoToken = new System.Windows.Forms.Label(); InBlock.gifthis.txtAmigoToken = new System.Windows.Forms.TextBox(); InBlock.gifthis.lblFilename = new System.Windows.Forms.Label(); InBlock.gifthis.txtFilename = new System.Windows.Forms.TextBox(); InBlock.gifthis.btnBrowse = new System.Windows.Forms.Button(); InBlock.gifthis.txtFileData = new System.Windows.Forms.TextBox(); InBlock.gifthis.lblFileData = new System.Windows.Forms.Label(); InBlock.gifthis.btnUpload = new System.Windows.Forms.Button(); InBlock.gifthis.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); InBlock.gifthis.txtResponse = new System.Windows.Forms.TextBox(); InBlock.gifthis.SuspendLayout(); InBlock.gif// InBlock.gif// lblAmigoToken InBlock.gif// InBlock.gif this.lblAmigoToken.Location = new System.Drawing.Point(40, 48); InBlock.gifthis.lblAmigoToken.Name = "lblAmigoToken"; InBlock.gifthis.lblAmigoToken.Size = new System.Drawing.Size(72, 23); InBlock.gifthis.lblAmigoToken.TabIndex = 0; InBlock.gifthis.lblAmigoToken.Text = "AmigoToken"; InBlock.gif// InBlock.gif// txtAmigoToken InBlock.gif// InBlock.gif this.txtAmigoToken.Location = new System.Drawing.Point(120, 48); InBlock.gifthis.txtAmigoToken.Name = "txtAmigoToken"; InBlock.gifthis.txtAmigoToken.Size = new System.Drawing.Size(248, 21); InBlock.gifthis.txtAmigoToken.TabIndex = 1; InBlock.gifthis.txtAmigoToken.Text = ""; InBlock.gif// InBlock.gif// lblFilename InBlock.gif// InBlock.gif this.lblFilename.Location = new System.Drawing.Point(40, 96); InBlock.gifthis.lblFilename.Name = "lblFilename"; InBlock.gifthis.lblFilename.Size = new System.Drawing.Size(80, 23); InBlock.gifthis.lblFilename.TabIndex = 2; InBlock.gifthis.lblFilename.Text = "Filename"; InBlock.gif// InBlock.gif// txtFilename InBlock.gif// InBlock.gif this.txtFilename.Location = new System.Drawing.Point(120, 96); InBlock.gifthis.txtFilename.Name = "txtFilename"; InBlock.gifthis.txtFilename.Size = new System.Drawing.Size(248, 21); InBlock.gifthis.txtFilename.TabIndex = 3; InBlock.gifthis.txtFilename.Text = ""; InBlock.gif// InBlock.gif// btnBrowse InBlock.gif// InBlock.gif this.btnBrowse.Location = new System.Drawing.Point(296, 144); InBlock.gifthis.btnBrowse.Name = "btnBrowse"; InBlock.gifthis.btnBrowse.TabIndex = 4; InBlock.gifthis.btnBrowse.Text = "浏览..."; InBlock.gifthis.btnBrowse.Click += new System.EventHandler(this.btnBrowse_Click); InBlock.gif// InBlock.gif// txtFileData InBlock.gif// InBlock.gif this.txtFileData.Location = new System.Drawing.Point(120, 144); InBlock.gifthis.txtFileData.Name = "txtFileData"; InBlock.gifthis.txtFileData.Size = new System.Drawing.Size(168, 21); InBlock.gifthis.txtFileData.TabIndex = 5; InBlock.gifthis.txtFileData.Text = ""; InBlock.gif// InBlock.gif// lblFileData InBlock.gif// InBlock.gif this.lblFileData.Location = new System.Drawing.Point(40, 144); InBlock.gifthis.lblFileData.Name = "lblFileData"; InBlock.gifthis.lblFileData.Size = new System.Drawing.Size(72, 23); InBlock.gifthis.lblFileData.TabIndex = 6; InBlock.gifthis.lblFileData.Text = "FileData"; InBlock.gif// InBlock.gif// btnUpload InBlock.gif// InBlock.gif this.btnUpload.Location = new System.Drawing.Point(48, 184); InBlock.gifthis.btnUpload.Name = "btnUpload"; InBlock.gifthis.btnUpload.TabIndex = 7; InBlock.gifthis.btnUpload.Text = "Upload"; InBlock.gifthis.btnUpload.Click += new System.EventHandler(this.btnUpload_Click); InBlock.gif// InBlock.gif// txtResponse InBlock.gif// InBlock.gif this.txtResponse.Location = new System.Drawing.Point(136, 184); InBlock.gifthis.txtResponse.Multiline = true; InBlock.gifthis.txtResponse.Name = "txtResponse"; InBlock.gifthis.txtResponse.Size = new System.Drawing.Size(248, 72); InBlock.gifthis.txtResponse.TabIndex = 8; InBlock.gifthis.txtResponse.Text = ""; InBlock.gif// InBlock.gif// frmUpload InBlock.gif// InBlock.gif this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); InBlock.gifthis.ClientSize = new System.Drawing.Size(400, 269); InBlock.gifthis.Controls.Add(this.txtResponse); InBlock.gifthis.Controls.Add(this.btnUpload); InBlock.gifthis.Controls.Add(this.lblFileData); InBlock.gifthis.Controls.Add(this.txtFileData); InBlock.gifthis.Controls.Add(this.btnBrowse); InBlock.gifthis.Controls.Add(this.txtFilename); InBlock.gifthis.Controls.Add(this.lblFilename); InBlock.gifthis.Controls.Add(this.txtAmigoToken); InBlock.gifthis.Controls.Add(this.lblAmigoToken); InBlock.gifthis.Name = "frmUpload"; InBlock.gifthis.Text = "frmUpload"; InBlock.gifthis.ResumeLayout(false); InBlock.gifExpandedSubBlockEnd.gif } ExpandedSubBlockEnd.gif#endregion InBlock.gifExpandedSubBlockStart.gifContractedSubBlock.gif/**//// <summary> InBlock.gif/// 应用程序的主入口点。 ExpandedSubBlockEnd.gif/// </summary> InBlock.gif [STAThread] InBlock.gifstatic void Main() ExpandedSubBlockStart.gifContractedSubBlock.gif...{ InBlock.gif Application.Run(new frmUpload()); ExpandedSubBlockEnd.gif } InBlock.gifInBlock.gifprivate void btnUpload_Click(object sender, System.EventArgs e) ExpandedSubBlockStart.gifContractedSubBlock.gif...{ InBlock.gif// 非空检验 InBlock.gif if (txtAmigoToken.Text.Trim() == "" || txtFilename.Text == "" || txtFileData.Text.Trim() == "") ExpandedSubBlockStart.gifContractedSubBlock.gif...{ InBlock.gif MessageBox.Show("Please fill data"); InBlock.gifreturn; ExpandedSubBlockEnd.gif } InBlock.gifInBlock.gif// 所要上传的文件路径 InBlock.gif string path = txtFileData.Text.Trim(); InBlock.gifInBlock.gif// 检查文件是否存在 InBlock.gif if (!File.Exists(path)) ExpandedSubBlockStart.gifContractedSubBlock.gif...{ InBlock.gif MessageBox.Show("{0} does not exist!", path); InBlock.gifreturn; ExpandedSubBlockEnd.gif } InBlock.gifInBlock.gif// 读文件流 InBlock.gif FileStream fs = new FileStream(path, FileMode.Open, InBlock.gif FileAccess.Read, FileShare.Read); InBlock.gifInBlock.gif// 这部分需要完善 InBlock.gif string ContentType = "application/octet-stream"; InBlock.gifbyte[] fileBytes = new byte[fs.Length]; InBlock.gif fs.Read(fileBytes, 0, Convert.ToInt32(fs.Length)); InBlock.gifInBlock.gifInBlock.gif// 生成需要上传的二进制数组 InBlock.gif CreateBytes cb = new CreateBytes(); InBlock.gif// 所有表单数据 InBlock.gif ArrayList bytesArray = new ArrayList(); InBlock.gif// 普通表单 InBlock.gif bytesArray.Add(cb.CreateFieldData("FileName", txtFilename.Text)); InBlock.gif bytesArray.Add(cb.CreateFieldData("AmigoToken", txtAmigoToken.Text)); InBlock.gif// 文件表单 InBlock.gif bytesArray.Add(cb.CreateFieldData("FileData", path InBlock.gif , ContentType, fileBytes)); InBlock.gifInBlock.gif// 合成所有表单并生成二进制数组 InBlock.gif byte[] bytes = cb.JoinBytes(bytesArray); InBlock.gifInBlock.gif// 返回的内容 InBlock.gif byte[] responseBytes; InBlock.gifInBlock.gif// 上传到指定Url InBlock.gif bool uploaded = cb.UploadData("http://localhost/UploadData/UploadAvatar.aspx", bytes, out responseBytes); InBlock.gifInBlock.gif// 将返回的内容输出到文件 InBlock.gif using (FileStream file = new FileStream(@"c:\response.text", FileMode.Create, FileAccess.Write, FileShare.Read)) ExpandedSubBlockStart.gifContractedSubBlock.gif...{ InBlock.gif file.Write(responseBytes, 0, responseBytes.Length); ExpandedSubBlockEnd.gif } InBlock.gifInBlock.gif txtResponse.Text = System.Text.Encoding.UTF8.GetString(responseBytes); InBlock.gifExpandedSubBlockEnd.gif } InBlock.gifInBlock.gifprivate void btnBrowse_Click(object sender, System.EventArgs e) ExpandedSubBlockStart.gifContractedSubBlock.gif...{ InBlock.gifif(openFileDialog1.ShowDialog() == DialogResult.OK) ExpandedSubBlockStart.gifContractedSubBlock.gif...{ InBlock.gif txtFileData.Text = openFileDialog1.FileName; ExpandedSubBlockEnd.gif } InBlock.gifExpandedSubBlockEnd.gif } ExpandedSubBlockEnd.gif } ExpandedBlockEnd.gif} None.gif

完整的代码见 附件: UploadData.rar(38K),解压后给web目录建个虚拟目录"UploadData",其中UploadAvatar.aspx是实际的上传处理页,如果上传成功,则返回文件名和文件类型等信息。default.aspx是asp.net页面来调用 WebClient.UploadData方法提交数据,UploadDataWin项目则是winform程序调用。

转载于:https://www.cnblogs.com/yxbsmx/articles/1426655.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值