茶壶煮饺子:
1.京东商品信息api:
itemId替换为需要查的ID,数据如下:
"modules": [],
"imageAndVideoJson": { },
"ostime": 1604889879.578,
"skuid": 72253032832,
"skuMarkJson": {},
"name": "【滔搏运动】adidas阿迪达斯运动服跑步训练健身防风休闲外套梭织连帽夹克邓伦同款topsports GF4018 M",
"skuidkey": "446440CD62340CC0E351C20E503F8C81",
"href": "//item.jd.com/72253032832.html",
"src": "jfs/t1/139206/39/13571/132673/5fa57bd7E3520aaf2/899a2c4a009626d8.jpg",
"paramJson": "{\"platform2\":\"1\",\"colType\":0,\"specialAttrStr\":\"p0pppp1pppppppppppppp\",\"skuMarkStr\":\"00\"}",
"imageList": [],
"cat": [],
"forceAdUpdate": "8282",
"brand": 2828,
"pType": 2,
"isClosePCShow": false,
"pTag": 424567,
"isPop": true,
"venderId": 615222,
"shopId": "607805",
"shopSwitch": true,
"freeBuyShow": false,
"atmosphereBannerImg": "//m.360buyimg.com/cc/jfs/t1/131760/40/12813/34661/5f8d5e9aEafe475c8/42e7f0669a582bd1.png",
"specialAttrs": [],
"recommend": [],
"easyBuyUrl": "//easybuy.jd.com/skuDetail/newSubmitEasybuyOrder.action",
"qualityLife": "//c.3.cn/qualification/info?skuId=72253032832&pid=14744016600&catId=9763",
"colorSize": [],
"warestatus": 1,
"desc": "//cd.jd.com/description/channel?skuId=72253032832&mainSkuId=14744016600&charset=utf-8&cdn=2",
"twoColumn": false,
"isCloseLoop": true,
"isBookMvd4Baby": false,
"addComments": true,
"mainSkuId": "14744016600",
"foot": "//dx.3.cn/footer?type=common_config2",
"shangjiazizhi": false,
2.金碟Api对接
原代码:
using Kingdee.BOS.WebApi.Client;
using CCWin;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Newtonsoft.Json;
using System.IO;
namespace KingdeeWebApi
{
public partial class Form1 : Skin_Mac
{
K3CloudApiClient client;
public Form1()
{
InitializeComponent();
}
//定义一个方法,登录成功后,返回值 return resultType
private int LogIn()
{
// 使用webapi引用组件Kingdee.BOS.WebApi.Client.dll
client = new K3CloudApiClient(" /");
//验证登录
var loginResult = client.ValidateLogin(" ", " ", " ", 2052);
var resultType = JObject.Parse(loginResult)["LoginResultType"].Value<int>();
return resultType;
}
#region
//保存
private void button1_Click(object sender, EventArgs e)
{
//登录结果类型等于1,代表登录成功
if (LogIn() == 1)
{
this.textBox2.Text = client.Save(txtFormId.Text, this.textBox1.Text);
}
else
{
this.textBox2.Text = "登录失败";
}
}
//提交"PUR_PurchaseOrder"
private void button2_Click(object sender, EventArgs e)
{
if (LogIn() == 1)
{
this.textBox2.Text = client.Submit(txtFormId.Text, this.textBox1.Text);
}
else
{
this.textBox2.Text = "登录失败";
}
}
//审核
private void button3_Click(object sender, EventArgs e)
{
if (LogIn() == 1)
{
this.textBox2.Text = client.Audit(txtFormId.Text, this.textBox1.Text);
}
else
{
this.textBox2.Text = "登录失败";
}
}
//查看
private void button4_Click(object sender, EventArgs e)
{
if (LogIn() == 1)
{
this.textBox2.Text = JsonFormat(client.View(txtFormId.Text, this.textBox1.Text));
}
else
{
this.textBox2.Text = "登录失败";
}
}
//删除
private void button6_Click(object sender, EventArgs e)
{
if (LogIn() == 1)
{
this.textBox2.Text = client.Delete(txtFormId.Text, this.textBox1.Text);
}
else
{
this.textBox2.Text = "登录失败";
}
}
//反审核
private void button5_Click(object sender, EventArgs e)
{
if (LogIn() == 1)
{
this.textBox2.Text = client.UnAudit(txtFormId.Text, this.textBox1.Text);
}
else
{
this.textBox2.Text = "登录失败";
}
}
#endregion
//作废
private void button7_Click(object sender, EventArgs e)
{
if (LogIn() == 1)
{
this.textBox2.Text = client.ExcuteOperation(txtFormId.Text, "cancel", this.textBox1.Text);
}
else
{
this.textBox2.Text = "登录失败";
}
}
//反作废
private void button8_Click(object sender, EventArgs e)
{
if (LogIn() == 1)
{
this.textBox2.Text = client.ExcuteOperation(txtFormId.Text, "Uncancel", this.textBox1.Text);
}
else
{
this.textBox2.Text = "登录失败";
}
}
//下推
private void button9_Click(object sender, EventArgs e)
{
if (LogIn() == 1)
{
this.textBox2.Text = client.Push(txtFormId.Text, this.textBox1.Text);
}
else
{
this.textBox2.Text = "登录失败";
}
}
//批量保存
private void button10_Click(object sender, EventArgs e)
{
if (LogIn() == 1)
{
this.textBox2.Text = client.BatchSave(txtFormId.Text, this.textBox1.Text);
}
else
{
this.textBox2.Text = "登录失败";
}
}
//查询
private void button11_Click(object sender, EventArgs e)
{
if (LogIn() == 1)
{
if (!this.textBox1.Text.Contains("FieldKeys"))
return;
var d = Newtonsoft.Json.JsonConvert.DeserializeObject(this.textBox1.Text);
var FieldKeys = (d as JObject)["FieldKeys"].ToString();
List<List<object>> test = new List<List<object>>();
test = client.ExecuteBillQuery(this.textBox1.Text);
//DataTable dataTable = CXT.Uniti.CreateTable("FCUSTID,FDocumentStatus,FForbidStatus,Fname,FNumber,FDescription,FCreateOrgId,FUseOrgId,FCreatorId,FModifierId,FCreateDate,FModifyDate,FShortName,FCOUNTRY,FPROVINCIAL,FZIP,FTEL,FTAXREGISTERCODE,FFAX,FGROUPCUSTID,FSUPPLIERID,FTRADINGCURRID,FSALDEPTID,FSALGROUPID,FSELLER,FTRANSLEADTIME,FPRICELISTID,FDISCOUNTLISTID,FSETTLETYPEID,FRECEIVECURRID,FRECCONDITIONID,FISCREDITCHECK,FAPPROVERID,FAPPROVEDATE,FFORBIDDERID,FFORBIDDATE,FTaxType,FCustTypeId,FADDRESS,FWEBSITE,FGroup,FCompanyScale,FCompanyClassify,FCompanyNature,FCorrespondOrgId,FPriority,FInvoiceType,FTaxRate,FIsDefPayer,FCPAdminCode,FIsGroup,FIsTrade,FINVOICETITLE,FINVOICEBANKNAME,FINVOICEBANKACCOUNT,FINVOICETEL,FINVOICEADDRESS,F_PAEZ_Text,F_PAEZ_Assistant", ',');//.ObjList2DataTable(test);
DataTable dataTable = CXT.Uniti.CreateTable(FieldKeys, ',');
foreach (List<object> List in test)
{
DataRow row = dataTable.NewRow();
row.ItemArray = List.ToArray();
dataTable.Rows.Add(row);
}
dataGridView1.DataSource = dataTable;
if (this.checkBox1.Checked)
this.dataGridView1.Visible = true;
else
this.dataGridView1.Visible = false;
//定义一个字符串,空值
string str = "";
//取每行信息
foreach (List<object> List in test)
{
//取每个字段值
for (int i = 0; i < List.Count; i++)
{
//转换成字符串
str += Convert.ToString(List[i]) + "_";
}
}
this.textBox2.Text = str;
}
else
{
this.textBox2.Text = "登录失败";
}
}
private void checkBox1_CheckedChanged(object sender, EventArgs e)
{
if (this.checkBox1.Checked)
this.dataGridView1.Visible = true;
else
this.dataGridView1.Visible = false;
}
private void button12_Click(object sender, EventArgs e)
{
CXT.FileHelper.WriteFile(txtFormId.Text, textBox1.Text);
CXT.Uniti.OpenFolderAndSelectFile(txtFormId.Text);
}
private void button13_Click(object sender, EventArgs e)
{
K3CloudApiMain k3CloudApiMain = new K3CloudApiMain();
k3CloudApiMain.BD_Customer();
}
private string JsonFormat(string str)
{
//格式化json字符串
JsonSerializer serializer = new JsonSerializer();
TextReader tr = new StringReader(str);
JsonTextReader jtr = new JsonTextReader(tr);
object obj = serializer.Deserialize(jtr);
if (obj != null)
{
StringWriter textWriter = new StringWriter();
JsonTextWriter jsonWriter = new JsonTextWriter(textWriter)
{
Formatting = Formatting.Indented,
Indentation = 4,
IndentChar = ' '
};
serializer.Serialize(jsonWriter, obj);
return textWriter.ToString();
}
else
{
return str;
}
}
}
}
3。京东商智监控商品request采集后指数还原
4.聚水潭第三方接入api
5.拼多多上架辅助非第三方SKU核对上传
6.拼多多销量无限修改更新
拼多多销量修改,虽然有人说与权重无关,但在销量排名已起到作用,更重要会在客户下单时,对客户产生一种莫名的信耐。一个销量1W+的商品与一个100+的商品在客户下单那下刻,直接产生了不同的效果。
平台流程上的缺陷,并不是技术漏洞,不存在越权。在这个流程改进之前,可以疯狂的改销量,至于今后认不认这个销量,或者处不处罚卖家,不好说。必竟10之8,9是在修改。
平台之疯狂的让商家低价,一批又一批的商家进入。没有等恢复原价时,已死了大部分。然尔前扑后继,来者无限,永无光明一刻。大部分普通商家一天几个订单,平台却分几百的流量,咨询不到10人,下单也就不足10单。
如果相信积累,那平台规则一改再改。积累也是太慢了。