加入爆款数据 提供微信爆款数据采集功能
This commit is contained in:
1 parent
a3d15b1b3d
commit
be8c35ccb2
12 files changed
+796
-604
No files matched your search
@@ -0,0 +1,44 @@
|
||||
using KJD_Web.Model;
|
||||
using KJD_Web.Utils;
|
||||
using KJD_WebService.Model;
|
||||
using KJD_WebService.Model.WxModel;
|
||||
using NaiBa.Util.Extension;
|
||||
using NaiBa.Util.Helper;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Security.Cryptography.X509Certificates;
|
||||
using System.Text;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace KJD_Web.Upload.Prod
|
||||
{
|
||||
public partial class WXProdHot : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
FileUpload1.Visible = false;
|
||||
}
|
||||
|
||||
protected void btnSubmit_Click(object sender, EventArgs e)
|
||||
{
|
||||
Label1.Text = "";
|
||||
Label2.Text = "";
|
||||
|
||||
string rst = getProd();
|
||||
Label1.Text = rst;
|
||||
Label2.Text = rst;
|
||||
TextBox2.Text = "";
|
||||
FileUpload1.Visible = false;
|
||||
}
|
||||
|
||||
string getProd()
|
||||
{
|
||||
string prodStr = Encoding.UTF8.GetString(this.FileUpload1.FileBytes);
|
||||
prodStr = TextBox2.Text.Trim();
|
||||
return new BaseWxProd().getProd(prodStr, "爆款数据");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user