Files
coreshoppro/CoreCms.Net.Model/FromBody/FMShare.cs
2021-12-20 21:27:32 +08:00

70 lines
2.5 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/***********************************************************************
* Project: CoreCms
* ProjectName: 核心内容管理系统
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021/1/31 21:45:10
* Description: 暂无
***********************************************************************/
using Newtonsoft.Json.Linq;
namespace CoreCms.Net.Model.FromBody
{
/// <summary>
/// 分享提交认证实体
/// </summary>
public class FMShare
{
/// <summary>
/// 场景值|1店铺首页2商品详情页3拼团详情页,4邀请好友店铺页面,params里需要传store,5文章页面,6参团页面7自定义页面8智能表单9团购秒杀
/// </summary>
public int page { get; set; }
/// <summary>
/// url前端地址
/// </summary>
public string url { get; set; }
/// <summary>
/// 参数集合,根据场景值不一样而内容不一样
/// 1
/// 2 goodsId:商品ID
/// 3 goodsId:商品IDteamId:拼团ID
/// 4 store:店铺code
/// 5 articleId:文章IDarticleType:文章类型
/// 6 goodsId:商品IDgroupId:参团IDteamId:拼团ID
/// 7 pageCode:自定义页面code
/// 8 id智能表单ID
/// 9 goodsId:商品IDgroupId:团购秒杀ID
/// type 类型1url2二维码3海报
/// token 可以保存推荐人的信息
/// client 终端1普通h52微信小程序3微信公众号h54头条系小程序,5pc6阿里小程序
/// 10 store:店铺code
/// </summary>
public JObject @params { get; set; }
/// <summary>
/// 类型1url2二维码3海报
/// </summary>
public int type { get; set; }
/// <summary>
/// 终端1普通h52微信小程序3微信公众号h54头条系小程序,5pc6阿里小程序
/// </summary>
public int client { get; set; }
}
/// <summary>
/// 统一分享解码提交参数
/// </summary>
public class FMDeShare
{
/// <summary>
/// 提交编码
/// </summary>
public string code { get; set; }
}
}