Files
KJD/Work/Business/ProductMappingBLL/MappingVDianApiBLL.cs
T

27 lines
1.2 KiB
C#

using AllBase;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Work.Business.ProductMappingBLL
{
public class MappingVDianApiBLL
{
/// <summary>
/// 0上货缓存 1标题缓存 2标题搜索 3接口上货 4接口上货失败 5模拟上货 6微店群控接口上货 7标题分词缓存 8标题分词搜索 9类目搜索 10随机数据 11全文检索成功 12全文检索无满足条件 13全文检索失败 14淘宝搜索 15阿里图片搜索 16京喜搜索
/// </summary>
/// <param name="resultNumber">0上货缓存 1标题缓存 2标题搜索 3接口上货 4接口上货失败 5模拟上货 6微店群控接口上货 7标题分词缓存 8标题分词搜索 9类目搜索 10随机数据 11全文检索成功 12全文检索无满足条件 13全文检索失败</param>
public static void UpDateMappingResultToStatistics(string resultNumber)
{
var html = GetHtml.GetUtf8("http://cache.aigio.cn/?type=" + resultNumber, "", 6);
if (html != "ok")
{
html = GetHtml.GetUtf8("http://cache.aigio.cn/?type=" + resultNumber, "", 10);
}
}
}
}