34 lines
663 B
C#
34 lines
663 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Store.Product.Models.Product;
|
|
|
|
namespace Store.Product.Publish.Steps.Wx;
|
|
|
|
public class WXPublishContext : PublishContextBase
|
|
{
|
|
private WxProductUploadProduct _product = new WxProductUploadProduct();
|
|
|
|
/// <summary>
|
|
/// 微信商品上传模型
|
|
/// </summary>
|
|
public new WxProductUploadProduct Product
|
|
{
|
|
get => _product;
|
|
set
|
|
{
|
|
_product = value ?? new WxProductUploadProduct();
|
|
base.Product = _product;
|
|
}
|
|
}
|
|
|
|
public WXPublishContext()
|
|
{
|
|
base.Product = _product;
|
|
}
|
|
|
|
public IProgress<string> Progress { get; set; }
|
|
}
|