增加项目,分层
This commit is contained in:
1 parent
6e995a5bdb
commit
0a3e5af6a9
234 files changed
+26994
-1
No files matched your search
@@ -0,0 +1,44 @@
|
||||
using Store.Framework.Models;
|
||||
using Store.Product.Models.Product;
|
||||
using Store.Product.Models.PublishParameters;
|
||||
using Store.Product.Models.PublishParameters.Wx;
|
||||
using Store.Product.Publish.Steps;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Store.Product.Publish;
|
||||
|
||||
/// <summary>
|
||||
/// 发布上下文
|
||||
/// </summary>
|
||||
public class PublishContextBase
|
||||
{
|
||||
/// <summary>
|
||||
/// 商铺
|
||||
/// </summary>
|
||||
public ShopBase Shop { get; set; }
|
||||
/// <summary>
|
||||
/// 商铺名称
|
||||
/// </summary>
|
||||
public string ShopName
|
||||
{
|
||||
get
|
||||
{
|
||||
if (Shop == null)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
return Shop.Name;
|
||||
}
|
||||
}
|
||||
|
||||
public ProductBase Product { get; set; }
|
||||
|
||||
public WXPublishParameters Parameters { get; set; } = new WXPublishParameters();
|
||||
|
||||
/// <summary>微信小店商品上传的新上下文参数。</summary>
|
||||
public WxProductUploadParam WxUpload { get; set; } = new WxProductUploadParam();
|
||||
}
|
||||
Reference in new issue
Block a user