56 lines
2.7 KiB
C#
56 lines
2.7 KiB
C#
using AllBase.Model.DBModel;
|
|
using AllBase.Model.Result;
|
|
using AllBase.Model.Result.PDDResult;
|
|
using AllBase.Model.Result.WXResult;
|
|
using Store.Product.Models.Product;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Store.Product.Publish.Steps.Wx;
|
|
|
|
internal static class AdminForms
|
|
{
|
|
internal static class WXAdminQualificationImageForm
|
|
{
|
|
public static List<wx_qualification_image_info> AdminGetServerQualificationImageLst(out int pageCount, out decimal seconds, string category, string md5 = null)
|
|
{
|
|
pageCount = 0;
|
|
seconds = 0m;
|
|
return new List<wx_qualification_image_info>();
|
|
}
|
|
}
|
|
}
|
|
|
|
internal static class WXProdNoCheckEditHelper
|
|
{
|
|
public static Dictionary<string, string> dicShopAddressId { get; } = new Dictionary<string, string>();
|
|
|
|
public static string SetShanghaiReturnOrderAddress(ShopLoginInfo shop)
|
|
{
|
|
throw new NotSupportedException("上海仓退货地址接口尚未迁移到 Store.Product。");
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 旧商品格式转换器的迁移占位。转换器包含 TEMUKJD 窗体项目依赖,调用时明确抛出异常。
|
|
/// </summary>
|
|
internal sealed class PDDProdFormConverter
|
|
{
|
|
public PDDProductInfo JstPddProdToPddConvert(out string convertRst, ProductBase product) => Throw<PDDProductInfo>(out convertRst);
|
|
public PDDProductInfo WXProdToPddConvert(out string convertRst, ProductBase product) => Throw<PDDProductInfo>(out convertRst);
|
|
public PDDProductInfo _1688ClientToPddConvert(out string convertRst, ProductBase product) => Throw<PDDProductInfo>(out convertRst);
|
|
public PDDProductInfo _1688OutToPddConvert(out string convertRst, ProductBase product) => Throw<PDDProductInfo>(out convertRst);
|
|
public PDDProductInfo WXClientToPddConvert(out string convertRst, ProductBase product) => Throw<PDDProductInfo>(out convertRst);
|
|
public string PddFrontToPddBackConvert(string content, bool flag1, object value, bool flag2, bool flag3) => Throw<string>(out _);
|
|
public string PddFrontToPddBackConvert2(string content, bool flag1, object value, bool flag2, bool flag3) => Throw<string>(out _);
|
|
public string PddFrontToPddBackConvert3(string content, bool flag1, object value, bool flag2, bool flag3) => Throw<string>(out _);
|
|
public string PddFrontToPddBackConvertV4(string content, bool flag1, object value, bool flag2, bool flag3) => Throw<string>(out _);
|
|
public string PddFrontToPddBackConvertFactory(string content, bool flag1, object value, bool flag2, bool flag3, string factoryContent) => Throw<string>(out _);
|
|
|
|
private static T Throw<T>(out string convertRst)
|
|
{
|
|
convertRst = "";
|
|
throw new NotSupportedException("商品格式转换器尚未迁移到 Store.Product。");
|
|
}
|
|
}
|