mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 18:43:26 +08:00
添加项目文件。
This commit is contained in:
30
CoreCms.Net.Model/FromBody/FMAdvert.cs
Normal file
30
CoreCms.Net.Model/FromBody/FMAdvert.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace CoreCms.Net.Model.FromBody
|
||||
{
|
||||
#region 小程序交互=================================================================================
|
||||
|
||||
public class WxAdvert
|
||||
{
|
||||
/// <summary>
|
||||
/// 广告位置
|
||||
/// </summary>
|
||||
public string codes { get; set; }
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
63
CoreCms.Net.Model/FromBody/FMAgent.cs
Normal file
63
CoreCms.Net.Model/FromBody/FMAgent.cs
Normal file
@@ -0,0 +1,63 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using CoreCms.Net.Model.Entities;
|
||||
|
||||
namespace CoreCms.Net.Model.FromBody
|
||||
{
|
||||
|
||||
public class FMCreateAgentGood
|
||||
{
|
||||
/// <summary>
|
||||
/// 商品主体
|
||||
/// </summary>
|
||||
public CoreCmsAgentGoods good { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 货品数据
|
||||
/// </summary>
|
||||
public List<CoreCmsAgentProducts> products { get; set; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
//API接口提交================================================
|
||||
/// <summary>
|
||||
/// 申请成为代理商接口提交参数
|
||||
/// </summary>
|
||||
public class FMAgentApply
|
||||
{
|
||||
public string agreement { get; set; }
|
||||
public string mobile { get; set; }
|
||||
public string name { get; set; }
|
||||
public string qq { get; set; }
|
||||
public string weixin { get; set; }
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 代理商店铺设置提交参数
|
||||
/// </summary>
|
||||
public class FMSetAgentStorePost
|
||||
{
|
||||
public string storeBanner { get; set; }
|
||||
public string storeDesc { get; set; }
|
||||
public string storeLogo { get; set; }
|
||||
public string storeName { get; set; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
32
CoreCms.Net.Model/FromBody/FMBillAftersales.cs
Normal file
32
CoreCms.Net.Model/FromBody/FMBillAftersales.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Newtonsoft.Json.Linq;
|
||||
|
||||
namespace CoreCms.Net.Model.FromBody
|
||||
{
|
||||
/// <summary>
|
||||
/// 后台审核售后单提交参数
|
||||
/// </summary>
|
||||
public class FMBillAftersalesAddPost
|
||||
{
|
||||
public string aftersalesId { get; set; }
|
||||
public int status { get; set; }
|
||||
public int type { get; set; }
|
||||
public decimal refund { get; set; }
|
||||
public string mark { get; set; }
|
||||
public JArray items { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
39
CoreCms.Net.Model/FromBody/FMBillRefund.cs
Normal file
39
CoreCms.Net.Model/FromBody/FMBillRefund.cs
Normal file
@@ -0,0 +1,39 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace CoreCms.Net.Model.FromBody
|
||||
{
|
||||
/// <summary>
|
||||
/// 后台审核退款单提交参数
|
||||
/// </summary>
|
||||
public class FMDoAuditPost
|
||||
{
|
||||
/// <summary>
|
||||
/// 状态
|
||||
/// </summary>
|
||||
public int status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 退款方式
|
||||
/// </summary>
|
||||
public string paymentCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 退款单号
|
||||
/// </summary>
|
||||
public string refundId { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
36
CoreCms.Net.Model/FromBody/FMBillReship.cs
Normal file
36
CoreCms.Net.Model/FromBody/FMBillReship.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace CoreCms.Net.Model.FromBody
|
||||
{
|
||||
|
||||
//后端接口====================================================================================================
|
||||
|
||||
|
||||
//Api接口====================================================================================================
|
||||
/// <summary>
|
||||
/// 前端接口提交售后发货快递信息
|
||||
/// </summary>
|
||||
public class FMBillReshipForSendReshipPost
|
||||
{
|
||||
|
||||
public string logiCode { set; get; }
|
||||
|
||||
public string logiNo { get; set; }
|
||||
|
||||
public string reshipId { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
99
CoreCms.Net.Model/FromBody/FMCart.cs
Normal file
99
CoreCms.Net.Model/FromBody/FMCart.cs
Normal file
@@ -0,0 +1,99 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace CoreCms.Net.Model.FromBody
|
||||
{
|
||||
/// <summary>
|
||||
/// 单个货品接入购物车
|
||||
/// </summary>
|
||||
public class FMCartAdd
|
||||
{
|
||||
/// <summary>
|
||||
/// 单品数量
|
||||
/// </summary>
|
||||
public int Nums { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// 货品序号
|
||||
/// </summary>
|
||||
public int ProductId { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// 数量类型 1是直接增加,2是赋值
|
||||
/// </summary>
|
||||
public int type { get; set; } = 1;
|
||||
|
||||
/// <summary>
|
||||
/// 普通购物还是团购秒杀/关联CartTypes
|
||||
/// </summary>
|
||||
public int cartType { get; set; } = 1;
|
||||
|
||||
/// <summary>
|
||||
/// 非普通货品,关联对象序列
|
||||
/// </summary>
|
||||
public int objectId { get; set; } = 0;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取购物车列表提交实体
|
||||
/// </summary>
|
||||
public class FMCartGetList
|
||||
{
|
||||
/// <summary>
|
||||
/// 用户序列
|
||||
/// </summary>
|
||||
public int userId { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// 购物车数据
|
||||
/// </summary>
|
||||
public string ids { get; set; } = null;
|
||||
|
||||
/// <summary>
|
||||
/// 购物车类型
|
||||
/// </summary>
|
||||
public int type { get; set; } = 1;
|
||||
|
||||
/// <summary>
|
||||
/// 区域编码
|
||||
/// </summary>
|
||||
public int areaId { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// 积分
|
||||
/// </summary>
|
||||
public int point { get; set; } = 0;
|
||||
/// <summary>
|
||||
/// 优惠券码
|
||||
/// </summary>
|
||||
|
||||
public string couponCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 配送方式是否包邮 1=快递配送(要去算运费)生成订单记录快递方式 2=门店自提(不需要计算运费)生成订单记录门店自提信息
|
||||
/// </summary>
|
||||
public int receiptType { get; set; } = 1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 关联非普通订单对象序列
|
||||
/// </summary>
|
||||
public int objectId { get; set; } = 0;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
46
CoreCms.Net.Model/FromBody/FMCoupon.cs
Normal file
46
CoreCms.Net.Model/FromBody/FMCoupon.cs
Normal file
@@ -0,0 +1,46 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
namespace CoreCms.Net.Model.FromBody
|
||||
{
|
||||
/// <summary>
|
||||
/// 优惠券相关提交验证实体
|
||||
/// </summary>
|
||||
public class FMCouponForUserCouponPost
|
||||
{
|
||||
public int page { get; set; } = 1;
|
||||
public int limit { get; set; } = 100;
|
||||
public string display { get; set; } = "all";
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 购物车数据
|
||||
/// </summary>
|
||||
public string ids { get; set; } = null;
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 优惠券相关提交验证实体
|
||||
/// </summary>
|
||||
public class FMCouponForGetCouponKeyPost
|
||||
{
|
||||
public string key { get; set; }
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 优惠券相关提交验证实体
|
||||
/// </summary>
|
||||
public class FMCouponForCouponListPost
|
||||
{
|
||||
public int limit { get; set; } = 3;
|
||||
}
|
||||
}
|
||||
17
CoreCms.Net.Model/FromBody/FMData.cs
Normal file
17
CoreCms.Net.Model/FromBody/FMData.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
namespace CoreCms.Net.Model.FromBody
|
||||
{
|
||||
public class FMData
|
||||
{
|
||||
public string data { get; set; }
|
||||
}
|
||||
}
|
||||
38
CoreCms.Net.Model/FromBody/FMDistribution.cs
Normal file
38
CoreCms.Net.Model/FromBody/FMDistribution.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
namespace CoreCms.Net.Model.FromBody
|
||||
{
|
||||
//API接口提交================================================
|
||||
/// <summary>
|
||||
/// 申请成为分销商接口提交参数
|
||||
/// </summary>
|
||||
public class FMDistributionApply
|
||||
{
|
||||
public string agreement { get; set; }
|
||||
public string mobile { get; set; }
|
||||
public string name { get; set; }
|
||||
public string qq { get; set; }
|
||||
public string weixin { get; set; }
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 店铺设置提交参数
|
||||
/// </summary>
|
||||
public class FMSetDistributionStorePost
|
||||
{
|
||||
public string storeBanner { get; set; }
|
||||
public string storeDesc { get; set; }
|
||||
public string storeLogo { get; set; }
|
||||
public string storeName { get; set; }
|
||||
}
|
||||
}
|
||||
72
CoreCms.Net.Model/FromBody/FMForm.cs
Normal file
72
CoreCms.Net.Model/FromBody/FMForm.cs
Normal file
@@ -0,0 +1,72 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
using System.Collections.Generic;
|
||||
using CoreCms.Net.Model.Entities;
|
||||
|
||||
namespace CoreCms.Net.Model.FromBody
|
||||
{
|
||||
public class FMForm
|
||||
{
|
||||
/// <summary>
|
||||
/// form实体
|
||||
/// </summary>
|
||||
public CoreCmsForm model { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 子集表单
|
||||
/// </summary>
|
||||
public List<CoreCmsFormItem> items { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取表单详情提交数据
|
||||
/// </summary>
|
||||
public class FmGetForm
|
||||
{
|
||||
public int id { get; set; } = 0;
|
||||
public string token { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 提交表单
|
||||
/// </summary>
|
||||
public class FmAddSubmit
|
||||
{
|
||||
public int id { get; set; } = 0;
|
||||
public string token { get; set; }
|
||||
|
||||
public List<FmAddSubmitItems> data { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取提交表单明细资源
|
||||
/// </summary>
|
||||
public class FmAddSubmitItems
|
||||
{
|
||||
public int key { get; set; }
|
||||
|
||||
public string value { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取提交表单明细资源中的商品数据
|
||||
/// </summary>
|
||||
public class FmAddSubmitItemGoods
|
||||
{
|
||||
public int key { get; set; }
|
||||
|
||||
public int productId { get; set; }
|
||||
public int goodsId { get; set; }
|
||||
public int nums { get; set; }
|
||||
public decimal price { get; set; }
|
||||
}
|
||||
}
|
||||
123
CoreCms.Net.Model/FromBody/FMGoods.cs
Normal file
123
CoreCms.Net.Model/FromBody/FMGoods.cs
Normal file
@@ -0,0 +1,123 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
using System.Collections.Generic;
|
||||
using CoreCms.Net.Model.Entities;
|
||||
|
||||
namespace CoreCms.Net.Model.FromBody
|
||||
{
|
||||
/// <summary>
|
||||
/// 新建商品保存提交类
|
||||
/// </summary>
|
||||
public class FMGoodsInsertModel
|
||||
{
|
||||
/// <summary>
|
||||
/// 商品信息
|
||||
/// </summary>
|
||||
public CoreCmsGoods goods { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 生成货品信息
|
||||
/// </summary>
|
||||
public List<CoreCmsProducts> products { get; set; } = null;
|
||||
|
||||
/// <summary>
|
||||
/// 会员价格体系
|
||||
/// </summary>
|
||||
public List<gradePrice> gradePrice { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 栏目扩展
|
||||
/// </summary>
|
||||
public string goodsCategoryExtendIds { get; set; }
|
||||
}
|
||||
|
||||
public class gradePrice
|
||||
{
|
||||
public int key { get; set; }
|
||||
public decimal value { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 批量修改金额提交
|
||||
/// </summary>
|
||||
public class FmBatchModifyPrice
|
||||
{
|
||||
/// <summary>
|
||||
/// 序列数组
|
||||
/// </summary>
|
||||
public int[] ids { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 变更方式+-*/
|
||||
/// </summary>
|
||||
public string modifyType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 变更类型
|
||||
/// </summary>
|
||||
public string priceType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 金额或倍数
|
||||
/// </summary>
|
||||
public decimal priceValue { get; set; }
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 批量修改库存提交
|
||||
/// </summary>
|
||||
public class FmBatchModifyStock
|
||||
{
|
||||
/// <summary>
|
||||
/// 序列数组
|
||||
/// </summary>
|
||||
public int[] ids { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 变更方式+-*/
|
||||
/// </summary>
|
||||
public string modifyType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 变更至
|
||||
/// </summary>
|
||||
public int modifyValue { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 提交设置标签实体
|
||||
/// </summary>
|
||||
public class FmSetLabel
|
||||
{
|
||||
/// <summary>
|
||||
/// 序列数组
|
||||
/// </summary>
|
||||
public int[] ids { get; set; }
|
||||
|
||||
public List<labels> labels { get; set; }
|
||||
}
|
||||
|
||||
public class labels
|
||||
{
|
||||
public string text { get; set; }
|
||||
public string style { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public class FMGetProductInfo
|
||||
{
|
||||
public int id { get; set; }
|
||||
public string type { get; set; }
|
||||
public int groupId { get; set; } = 0;
|
||||
}
|
||||
}
|
||||
47
CoreCms.Net.Model/FromBody/FMGroup.cs
Normal file
47
CoreCms.Net.Model/FromBody/FMGroup.cs
Normal file
@@ -0,0 +1,47 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
namespace CoreCms.Net.Model.FromBody
|
||||
{
|
||||
//APi=========================================================================
|
||||
/// <summary>
|
||||
/// 获取团购列表请求参数
|
||||
/// </summary>
|
||||
public class FMGroupGetListPost
|
||||
{
|
||||
/// <summary>
|
||||
/// 类型
|
||||
/// </summary>
|
||||
public int type { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// 页码
|
||||
/// </summary>
|
||||
public int page { get; set; } = 1;
|
||||
|
||||
/// <summary>
|
||||
/// 分页数量
|
||||
/// </summary>
|
||||
public int limit { get; set; } = 10;
|
||||
|
||||
/// <summary>
|
||||
/// 活动状态
|
||||
/// </summary>
|
||||
public int status { get; set; } = 0;
|
||||
}
|
||||
|
||||
|
||||
public class FMGetGoodsDetial
|
||||
{
|
||||
public int id { get; set; }
|
||||
public int groupId { get; set; }
|
||||
}
|
||||
}
|
||||
68
CoreCms.Net.Model/FromBody/FMId.cs
Normal file
68
CoreCms.Net.Model/FromBody/FMId.cs
Normal file
@@ -0,0 +1,68 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace CoreCms.Net.Model.FromBody
|
||||
{
|
||||
public class FMIntId
|
||||
{
|
||||
/// <summary>
|
||||
/// 序列
|
||||
/// </summary>
|
||||
[Display(Name = "序列")]
|
||||
[Required(ErrorMessage = "请输入要提交的序列参数")]
|
||||
public int id { get; set; }
|
||||
|
||||
public object data { get; set; } = null;
|
||||
}
|
||||
|
||||
public class FMIntIdByListIntData
|
||||
{
|
||||
public int id { get; set; }
|
||||
public List<int> data { get; set; } = null;
|
||||
}
|
||||
|
||||
|
||||
public class FMArrayIntIds
|
||||
{
|
||||
public int[] id { get; set; }
|
||||
public object data { get; set; } = null;
|
||||
}
|
||||
|
||||
public class FMStringId
|
||||
{
|
||||
public string id { get; set; }
|
||||
public object data { get; set; } = null;
|
||||
}
|
||||
|
||||
public class FMArrayStringIds
|
||||
{
|
||||
public string[] id { get; set; }
|
||||
public object data { get; set; } = null;
|
||||
}
|
||||
|
||||
|
||||
public class FMGuidId
|
||||
{
|
||||
public Guid id { get; set; }
|
||||
public object data { get; set; } = null;
|
||||
}
|
||||
|
||||
|
||||
public class FMArrayGuidIds
|
||||
{
|
||||
public Guid[] id { get; set; }
|
||||
public object data { get; set; } = null;
|
||||
}
|
||||
}
|
||||
123
CoreCms.Net.Model/FromBody/FMInsert.cs
Normal file
123
CoreCms.Net.Model/FromBody/FMInsert.cs
Normal file
@@ -0,0 +1,123 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using SqlSugar;
|
||||
|
||||
namespace CoreCms.Net.Model.FromBody
|
||||
{
|
||||
/// <summary>
|
||||
/// 商品属性后端提交实体
|
||||
/// </summary>
|
||||
public class FmGoodsTypeSpecInsert
|
||||
{
|
||||
/// <summary>
|
||||
/// 属性名称
|
||||
/// </summary>
|
||||
[Display(Name = "属性名称")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(30, ErrorMessage = "{0}不能超过{1}字")]
|
||||
public string name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 属性排序
|
||||
/// </summary>
|
||||
[Display(Name = "属性排序")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public int sort { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 属性值
|
||||
/// </summary>
|
||||
[Display(Name = "属性值")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public List<string> value { get; set; }
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 商品属性后端提交实体
|
||||
/// </summary>
|
||||
public class FmGoodsTypeSpecUpdate
|
||||
{
|
||||
/// <summary>
|
||||
/// 序列
|
||||
/// </summary>
|
||||
[Display(Name = "序列")]
|
||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public int id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 属性名称
|
||||
/// </summary>
|
||||
[Display(Name = "属性名称")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(30, ErrorMessage = "{0}不能超过{1}字")]
|
||||
public string name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 属性排序
|
||||
/// </summary>
|
||||
[Display(Name = "属性排序")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public int sort { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 属性值
|
||||
/// </summary>
|
||||
[Display(Name = "属性值")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public List<string> value { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 商品类型增加实体
|
||||
/// </summary>
|
||||
public class FmGoodsTypeInsert
|
||||
{
|
||||
/// <summary>
|
||||
/// 属性名称
|
||||
/// </summary>
|
||||
[Display(Name = "属性名称")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
[StringLength(30, ErrorMessage = "{0}不能超过{1}字")]
|
||||
public string name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 参数集合
|
||||
/// </summary>
|
||||
public List<TypeParams> parameters { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 属性集合
|
||||
/// </summary>
|
||||
public List<TypeAttributes> types { get; set; }
|
||||
}
|
||||
|
||||
public class TypeParams
|
||||
{
|
||||
public int paramsId { get; set; }
|
||||
public string paramsName { get; set; }
|
||||
public string paramsType { get; set; }
|
||||
public string paramsValue { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public class TypeAttributes
|
||||
{
|
||||
public int typeId { get; set; }
|
||||
public string typeName { get; set; }
|
||||
public string typeType { get; set; }
|
||||
public string typeValue { get; set; }
|
||||
}
|
||||
}
|
||||
33
CoreCms.Net.Model/FromBody/FMLogin.cs
Normal file
33
CoreCms.Net.Model/FromBody/FMLogin.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
namespace CoreCms.Net.Model.FromBody
|
||||
{
|
||||
/// <summary>
|
||||
/// 用户登录验证实体
|
||||
/// </summary>
|
||||
public class FMLogin
|
||||
{
|
||||
public string userName { get; set; }
|
||||
public string password { get; set; }
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 用户登录验证实体
|
||||
/// </summary>
|
||||
public class FMEditLoginUserPassWord
|
||||
{
|
||||
public string oldPassword { get; set; }
|
||||
public string password { get; set; }
|
||||
public string repassword { get; set; }
|
||||
}
|
||||
}
|
||||
123
CoreCms.Net.Model/FromBody/FMOrder.cs
Normal file
123
CoreCms.Net.Model/FromBody/FMOrder.cs
Normal file
@@ -0,0 +1,123 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace CoreCms.Net.Model.FromBody
|
||||
{
|
||||
/// <summary>
|
||||
/// 后端编辑订单提交参数
|
||||
/// </summary>
|
||||
public class AdminEditOrderPost
|
||||
{
|
||||
public string orderId { get; set; }
|
||||
public int editType { get; set; } = 1;
|
||||
public int storeId { get; set; } = 0;
|
||||
public int shipAreaId { get; set; } = 0;
|
||||
public string shipName { get; set; }
|
||||
public string shipMobile { get; set; }
|
||||
public string shipAddress { get; set; }
|
||||
public decimal orderAmount { get; set; } = 0;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 后端订单发货提交参数
|
||||
/// </summary>
|
||||
public class AdminOrderShipPost
|
||||
{
|
||||
/// <summary>
|
||||
/// 订单编号
|
||||
/// </summary>
|
||||
public string orderId { get; set; }
|
||||
/// <summary>
|
||||
/// 快递编码
|
||||
/// </summary>
|
||||
public string logiCode { get; set; }
|
||||
/// <summary>
|
||||
/// 快递公司名称
|
||||
/// </summary>
|
||||
public string logiNo { get; set; }
|
||||
/// <summary>
|
||||
/// 直播物流编码
|
||||
/// </summary>
|
||||
public string deliveryCompanyId { get; set; }
|
||||
|
||||
public Dictionary<int, int> items { get; set; }
|
||||
/// <summary>
|
||||
/// 门店编码
|
||||
/// </summary>
|
||||
public int storeId { get; set; } = 0;
|
||||
/// <summary>
|
||||
/// 收货姓名
|
||||
/// </summary>
|
||||
public string shipName { get; set; }
|
||||
/// <summary>
|
||||
/// 收货手机
|
||||
/// </summary>
|
||||
public string shipMobile { get; set; }
|
||||
/// <summary>
|
||||
/// 收货地址
|
||||
/// </summary>
|
||||
public string shipAddress { get; set; }
|
||||
/// <summary>
|
||||
/// 收货区域编码
|
||||
/// </summary>
|
||||
public int shipAreaId { get; set; } = 0;
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
public string memo { get; set; }
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 后端订单手动支付提交参数
|
||||
/// </summary>
|
||||
public class AdminOrderDoPayPost
|
||||
{
|
||||
/// <summary>
|
||||
/// 订单编号
|
||||
/// </summary>
|
||||
public string orderId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 支付类型
|
||||
/// </summary>
|
||||
public int type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 支付类型编码
|
||||
/// </summary>
|
||||
public string paymentCode { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 前台物流查询接口提交参数
|
||||
/// </summary>
|
||||
public class FMApiLogisticsByApiPost
|
||||
{
|
||||
/// <summary>
|
||||
/// 快递公司编码
|
||||
/// </summary>
|
||||
public string code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 物流单号
|
||||
/// </summary>
|
||||
public string no { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 手机号码
|
||||
/// </summary>
|
||||
public string mobile { get; set; }
|
||||
}
|
||||
}
|
||||
101
CoreCms.Net.Model/FromBody/FMPage.cs
Normal file
101
CoreCms.Net.Model/FromBody/FMPage.cs
Normal file
@@ -0,0 +1,101 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
namespace CoreCms.Net.Model.FromBody
|
||||
{
|
||||
/// <summary>
|
||||
/// 根据where查询条件和order排序获取列表
|
||||
/// </summary>
|
||||
public class FMPageByWhereOrder
|
||||
{
|
||||
/// <summary>
|
||||
/// 当前页码
|
||||
/// </summary>
|
||||
public int page { get; set; } = 1;
|
||||
|
||||
/// <summary>
|
||||
/// 每页数据量
|
||||
/// </summary>
|
||||
public int limit { get; set; } = 10;
|
||||
|
||||
/// <summary>
|
||||
/// 排序
|
||||
/// </summary>
|
||||
public string order { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 判断条件
|
||||
/// </summary>
|
||||
public string where { get; set; }
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 根据int类型id加where查询条件和order排序获取列表(一般用于直接id分页)
|
||||
/// </summary>
|
||||
public class FMPageByIntId
|
||||
{
|
||||
public object otherData { get; set; }
|
||||
|
||||
|
||||
public int id { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 当前页码
|
||||
/// </summary>
|
||||
public int page { get; set; } = 1;
|
||||
|
||||
/// <summary>
|
||||
/// 每页数据量
|
||||
/// </summary>
|
||||
public int limit { get; set; } = 10;
|
||||
|
||||
/// <summary>
|
||||
/// 排序
|
||||
/// </summary>
|
||||
public string order { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 判断条件
|
||||
/// </summary>
|
||||
public string where { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据String类型id加where查询条件和order排序获取列表(一般用于直接id分页)
|
||||
/// </summary>
|
||||
public class FMPageByStringId
|
||||
{
|
||||
public string id { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 当前页码
|
||||
/// </summary>
|
||||
public int page { get; set; } = 1;
|
||||
|
||||
/// <summary>
|
||||
/// 每页数据量
|
||||
/// </summary>
|
||||
public int limit { get; set; } = 10;
|
||||
|
||||
/// <summary>
|
||||
/// 排序
|
||||
/// </summary>
|
||||
public string order { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 判断条件
|
||||
/// </summary>
|
||||
public string where { get; set; }
|
||||
}
|
||||
}
|
||||
39
CoreCms.Net.Model/FromBody/FMProducts.cs
Normal file
39
CoreCms.Net.Model/FromBody/FMProducts.cs
Normal file
@@ -0,0 +1,39 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
namespace CoreCms.Net.Model.FromBody
|
||||
{
|
||||
internal class FMProducts
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取子规格
|
||||
/// </summary>
|
||||
public class ItemSpesDesc
|
||||
{
|
||||
public string name { get; set; } = string.Empty;
|
||||
public bool isDefault { get; set; } = false;
|
||||
public int productId { get; set; } = 0;
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取相应规格
|
||||
/// </summary>
|
||||
public class DefaultSpesDesc
|
||||
{
|
||||
public string name { get; set; } = string.Empty;
|
||||
public bool isDefault { get; set; } = false;
|
||||
public int productId { get; set; } = 0;
|
||||
}
|
||||
}
|
||||
47
CoreCms.Net.Model/FromBody/FMReports.cs
Normal file
47
CoreCms.Net.Model/FromBody/FMReports.cs
Normal file
@@ -0,0 +1,47 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
namespace CoreCms.Net.Model.FromBody
|
||||
{
|
||||
/// <summary>
|
||||
/// 后台查询报表综合提交参数
|
||||
/// </summary>
|
||||
public class FMReports
|
||||
{
|
||||
/// <summary>
|
||||
/// 时间返回
|
||||
/// </summary>
|
||||
public string date { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 查询时间类型
|
||||
/// </summary>
|
||||
public int section { get; set; } = 0;
|
||||
|
||||
//页码
|
||||
public int page { get; set; } = 1;
|
||||
|
||||
/// <summary>
|
||||
/// 分页数量
|
||||
/// </summary>
|
||||
public int limit { get; set; } = 5000;
|
||||
|
||||
/// <summary>
|
||||
/// 排名条件
|
||||
/// </summary>
|
||||
public string filter { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// 升降序 desc/asc
|
||||
/// </summary>
|
||||
public string thesort { get; set; } = "";
|
||||
}
|
||||
}
|
||||
29
CoreCms.Net.Model/FromBody/FMSerializeArray.cs
Normal file
29
CoreCms.Net.Model/FromBody/FMSerializeArray.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace CoreCms.Net.Model.FromBody
|
||||
{
|
||||
/// <summary>
|
||||
/// 前端提交标准json键值对内容
|
||||
/// </summary>
|
||||
public class FmSerializeArray
|
||||
{
|
||||
public List<FormSerializeArray> entity { get; set; }
|
||||
}
|
||||
|
||||
public class FormSerializeArray
|
||||
{
|
||||
public string name { get; set; }
|
||||
public string value { get; set; }
|
||||
}
|
||||
}
|
||||
27
CoreCms.Net.Model/FromBody/FMSetting.cs
Normal file
27
CoreCms.Net.Model/FromBody/FMSetting.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
using System.Collections.Generic;
|
||||
using CoreCms.Net.Model.ViewModels.Basics;
|
||||
|
||||
namespace CoreCms.Net.Model.FromBody
|
||||
{
|
||||
/// <summary>
|
||||
/// 配置文件更新类
|
||||
/// </summary>
|
||||
public class FMCoreCmsSettingDoSaveModel
|
||||
{
|
||||
/// <summary>
|
||||
/// 列表
|
||||
/// </summary>
|
||||
public List<DictionaryKeyValues> entity { get; set; }
|
||||
}
|
||||
}
|
||||
70
CoreCms.Net.Model/FromBody/FMShare.cs
Normal file
70
CoreCms.Net.Model/FromBody/FMShare.cs
Normal file
@@ -0,0 +1,70 @@
|
||||
/***********************************************************************
|
||||
* 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:商品ID,teamId:拼团ID
|
||||
/// 4 store:店铺code
|
||||
/// 5 articleId:文章ID,articleType:文章类型
|
||||
/// 6 goodsId:商品ID,groupId:参团ID,teamId:拼团ID
|
||||
/// 7 pageCode:自定义页面code
|
||||
/// 8 id:智能表单ID
|
||||
/// 9 goodsId:商品ID,groupId:团购秒杀ID
|
||||
/// type 类型,1url,2二维码,3海报
|
||||
/// token 可以保存推荐人的信息
|
||||
/// client 终端,1普通h5,2微信小程序,3微信公众号(h5),4头条系小程序,5pc,6阿里小程序
|
||||
/// 10 store:店铺code
|
||||
/// </summary>
|
||||
public JObject @params { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 类型,1url,2二维码,3海报
|
||||
/// </summary>
|
||||
public int type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 终端,1普通h5,2微信小程序,3微信公众号(h5),4头条系小程序,5pc,6阿里小程序
|
||||
/// </summary>
|
||||
public int client { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 统一分享解码提交参数
|
||||
/// </summary>
|
||||
public class FMDeShare
|
||||
{
|
||||
/// <summary>
|
||||
/// 提交编码
|
||||
/// </summary>
|
||||
public string code { get; set; }
|
||||
}
|
||||
}
|
||||
33
CoreCms.Net.Model/FromBody/FMStock.cs
Normal file
33
CoreCms.Net.Model/FromBody/FMStock.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
using System.Collections.Generic;
|
||||
using CoreCms.Net.Model.Entities;
|
||||
|
||||
namespace CoreCms.Net.Model.FromBody
|
||||
{
|
||||
public class FMCreateStock
|
||||
{
|
||||
/// <summary>
|
||||
/// 广告位置
|
||||
/// </summary>
|
||||
public CoreCmsStock model { get; set; }
|
||||
|
||||
|
||||
public List<FMCreateStockItem> items { get; set; }
|
||||
}
|
||||
|
||||
public class FMCreateStockItem
|
||||
{
|
||||
public int nums { get; set; }
|
||||
public int productId { get; set; }
|
||||
}
|
||||
}
|
||||
45
CoreCms.Net.Model/FromBody/FMStore.cs
Normal file
45
CoreCms.Net.Model/FromBody/FMStore.cs
Normal file
@@ -0,0 +1,45 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
namespace CoreCms.Net.Model.FromBody
|
||||
{
|
||||
public class FMStoreClerkCURDPost
|
||||
{
|
||||
public int id { get; set; } = 0;
|
||||
|
||||
public int storeId { get; set; }
|
||||
public string phone { get; set; }
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 根据int类型id加where查询条件和order排序获取列表(一般用于直接id分页)
|
||||
/// </summary>
|
||||
public class FMGetStoreQueryPageByCoordinate
|
||||
{
|
||||
public decimal longitude { get; set; } = 0;
|
||||
|
||||
public decimal latitude { get; set; } = 0;
|
||||
|
||||
|
||||
public string key { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 当前页码
|
||||
/// </summary>
|
||||
public int page { get; set; } = 1;
|
||||
|
||||
/// <summary>
|
||||
/// 每页数据量
|
||||
/// </summary>
|
||||
public int limit { get; set; } = 10;
|
||||
}
|
||||
}
|
||||
28
CoreCms.Net.Model/FromBody/FMSysMenu.cs
Normal file
28
CoreCms.Net.Model/FromBody/FMSysMenu.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace CoreCms.Net.Model.FromBody
|
||||
{
|
||||
public class FMSysMenuToImportButtonData
|
||||
{
|
||||
public int menuId { get; set; }
|
||||
public string controllerName { get; set; }
|
||||
public string actionName { get; set; }
|
||||
public string description { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public class FMSysMenuToImportButton
|
||||
{
|
||||
public List<FMSysMenuToImportButtonData> data { get; set; }
|
||||
}
|
||||
}
|
||||
18
CoreCms.Net.Model/FromBody/FMSysOrganization.cs
Normal file
18
CoreCms.Net.Model/FromBody/FMSysOrganization.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
namespace CoreCms.Net.Model.FromBody
|
||||
{
|
||||
public class FMDoSetSysOrganizationLeaderPost
|
||||
{
|
||||
public int leaderId { get; set; }
|
||||
public int organizationId { get; set; }
|
||||
}
|
||||
}
|
||||
25
CoreCms.Net.Model/FromBody/FMTools.cs
Normal file
25
CoreCms.Net.Model/FromBody/FMTools.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
namespace CoreCms.Net.Model.FromBody
|
||||
{
|
||||
#region 后端=================================================================================
|
||||
|
||||
public class FMBase64Post
|
||||
{
|
||||
/// <summary>
|
||||
/// base64数据
|
||||
/// </summary>
|
||||
public string base64 { get; set; }
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
158
CoreCms.Net.Model/FromBody/FMUpdate.cs
Normal file
158
CoreCms.Net.Model/FromBody/FMUpdate.cs
Normal file
@@ -0,0 +1,158 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace CoreCms.Net.Model.FromBody
|
||||
{
|
||||
#region 通用更新实体============================================================
|
||||
|
||||
/// <summary>
|
||||
/// 按照序列进行更新Bool类型数据
|
||||
/// </summary>
|
||||
public class FMUpdateBoolDataByIntId
|
||||
{
|
||||
/// <summary>
|
||||
/// 序列
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "请输入序列")]
|
||||
public int id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "请输入相应数据")]
|
||||
public bool data { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 按照序列进行更新String类型数据
|
||||
/// </summary>
|
||||
public class FMUpdateStringDataByIntId
|
||||
{
|
||||
/// <summary>
|
||||
/// 序列
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "请输入序列")]
|
||||
public int id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "请输入相应数据")]
|
||||
public string data { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 按照序列进行更新Int类型数据
|
||||
/// </summary>
|
||||
public class FMUpdateIntegerDataByIntId
|
||||
{
|
||||
/// <summary>
|
||||
/// 序列
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "请输入序列")]
|
||||
public int id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "请输入相应数据")]
|
||||
public int data { get; set; }
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 按照序列进行更新Decimal类型数据
|
||||
/// </summary>
|
||||
public class FMUpdateDecimalDataByIntId
|
||||
{
|
||||
/// <summary>
|
||||
/// 序列
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "请输入序列")]
|
||||
public int id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "请输入相应数据")]
|
||||
public decimal data { get; set; }
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 按照序列进行更新Decimal类型数据
|
||||
/// </summary>
|
||||
public class FMUpdateArrayIntDataByIntId
|
||||
{
|
||||
/// <summary>
|
||||
/// 序列
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "请输入序列")]
|
||||
public int id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "请输入相应数据")]
|
||||
public List<int> data { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 按照序列进行更新string数组类型数据
|
||||
/// </summary>
|
||||
public class FMUpdateArrayStringDataByIntId
|
||||
{
|
||||
/// <summary>
|
||||
/// 序列
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "请输入序列")]
|
||||
public int id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "请输入相应数据")]
|
||||
public List<string> data { get; set; }
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
#region 用户相关=============================================================================
|
||||
|
||||
/// <summary>
|
||||
/// 更新积分提交model
|
||||
/// </summary>
|
||||
public class FMUpdateUserPoint
|
||||
{
|
||||
/// <summary>
|
||||
/// 序列
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "请输入序列")]
|
||||
public int id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 积分
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "请输入积分")]
|
||||
public int point { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 说明
|
||||
/// </summary>
|
||||
[Required(ErrorMessage = "请输入说明")]
|
||||
public string memo { get; set; }
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
143
CoreCms.Net.Model/FromBody/FMUser.cs
Normal file
143
CoreCms.Net.Model/FromBody/FMUser.cs
Normal file
@@ -0,0 +1,143 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
using System;
|
||||
|
||||
namespace CoreCms.Net.Model.FromBody
|
||||
{
|
||||
/// <summary>
|
||||
/// APi
|
||||
/// </summary>
|
||||
public class EditInfoPost
|
||||
{
|
||||
public DateTime? birthday { get; set; }
|
||||
|
||||
public string nickname { get; set; }
|
||||
|
||||
public int sex { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 编辑后端登录个人账户密码
|
||||
/// </summary>
|
||||
public class EditPwdPost
|
||||
{
|
||||
public string newpwd { get; set; }
|
||||
|
||||
public string repwd { get; set; }
|
||||
|
||||
|
||||
public string pwd { get; set; }
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 编辑登录用户个人信息
|
||||
/// </summary>
|
||||
public class EditLoginUserInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// 昵称
|
||||
/// </summary>
|
||||
public string nickName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 头像
|
||||
/// </summary>
|
||||
public string avatar { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 性别
|
||||
/// </summary>
|
||||
public int sex { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 手机号
|
||||
/// </summary>
|
||||
public string phone { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 邮箱
|
||||
/// </summary>
|
||||
public string email { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 真实姓名
|
||||
/// </summary>
|
||||
public string trueName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 身份证号
|
||||
/// </summary>
|
||||
public string idCard { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 出生日期
|
||||
/// </summary>
|
||||
public DateTime? birthday { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 个人简介
|
||||
/// </summary>
|
||||
public string introduction { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// API取回密码提交参数
|
||||
/// </summary>
|
||||
public class FMForgetPwdPost
|
||||
{
|
||||
/// <summary>
|
||||
/// 电话号码
|
||||
/// </summary>
|
||||
public string mobile { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 编码
|
||||
/// </summary>
|
||||
public string code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 新密码
|
||||
/// </summary>
|
||||
public string newpwd { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 确认新密码
|
||||
/// </summary>
|
||||
public string repwd { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// API取回密码提交参数
|
||||
/// </summary>
|
||||
public class FMGetBalancePost
|
||||
{
|
||||
/// <summary>
|
||||
/// 类型
|
||||
/// </summary>
|
||||
public int id { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// 页码
|
||||
/// </summary>
|
||||
public int page { get; set; } = 1;
|
||||
|
||||
/// <summary>
|
||||
/// 每页条数
|
||||
/// </summary>
|
||||
public int limit { get; set; } = 10;
|
||||
|
||||
/// <summary>
|
||||
/// 时间范围
|
||||
/// </summary>
|
||||
public string propsDate { get; set; }
|
||||
}
|
||||
}
|
||||
152
CoreCms.Net.Model/FromBody/FMWxPost.cs
Normal file
152
CoreCms.Net.Model/FromBody/FMWxPost.cs
Normal file
@@ -0,0 +1,152 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
using System.Collections.Generic;
|
||||
using CoreCms.Net.Model.Entities;
|
||||
|
||||
namespace CoreCms.Net.Model.FromBody
|
||||
{
|
||||
/// <summary>
|
||||
/// 小程序提交数据标准接收实体
|
||||
/// </summary>
|
||||
public class FMWxPost
|
||||
{
|
||||
/// <summary>
|
||||
/// 页面编码
|
||||
/// </summary>
|
||||
public string code { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 微信小程序登录解码数据
|
||||
/// </summary>
|
||||
public class FMWxLoginDecodeEncryptedData
|
||||
{
|
||||
public string encryptedData { get; set; }
|
||||
|
||||
public string iv { get; set; }
|
||||
|
||||
public string signature { get; set; }
|
||||
|
||||
public string sessionAuthId { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 微信小程序登录解码手机号码
|
||||
/// </summary>
|
||||
public class FMWxLoginDecryptPhoneNumber
|
||||
{
|
||||
public string encryptedData { get; set; }
|
||||
|
||||
public string iv { get; set; }
|
||||
|
||||
public string sessionAuthId { get; set; }
|
||||
|
||||
public int invitecode { get; set; } = 0;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 微信账户创建
|
||||
/// </summary>
|
||||
public class FMWxAccountCreate
|
||||
{
|
||||
/// <summary>
|
||||
/// 密码
|
||||
/// </summary>
|
||||
public string password { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// 昵称
|
||||
/// </summary>
|
||||
public string nickname { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// 头像
|
||||
/// </summary>
|
||||
public string avatar { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// 短信验证码
|
||||
/// </summary>
|
||||
public string code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 手机号码
|
||||
/// </summary>
|
||||
public string mobile { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 微信小程序授权sessionAuthId
|
||||
/// </summary>
|
||||
public string sessionAuthId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 来源
|
||||
/// </summary>
|
||||
public int platform { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 推荐码
|
||||
/// </summary>
|
||||
public int invitecode { get; set; } = 0;
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 微信账户创建
|
||||
/// </summary>
|
||||
public class FMWxSync
|
||||
{
|
||||
public string avatarUrl { get; set; }
|
||||
public string city { get; set; }
|
||||
public string country { get; set; }
|
||||
public int gender { get; set; }
|
||||
public string language { get; set; }
|
||||
public string nickName { get; set; }
|
||||
public string province { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public class FMWxSendSMS
|
||||
{
|
||||
/// <summary>
|
||||
/// 操作类型
|
||||
/// </summary>
|
||||
public string code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 手机号码
|
||||
/// </summary>
|
||||
public string mobile { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 方法
|
||||
/// </summary>
|
||||
public string method { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public class FMWeChatMsgTemplateEdit
|
||||
{
|
||||
public string title { get; set; }
|
||||
public List<CoreCmsUserWeChatMsgTemplate> list { get; set; }
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 用户发起订阅提交
|
||||
/// </summary>
|
||||
public class SetWeChatAppletsMessageTip
|
||||
{
|
||||
public string templateId { get; set; }
|
||||
public string status { get; set; }
|
||||
}
|
||||
}
|
||||
64
CoreCms.Net.Model/FromBody/FmPages.cs
Normal file
64
CoreCms.Net.Model/FromBody/FmPages.cs
Normal file
@@ -0,0 +1,64 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace CoreCms.Net.Model.FromBody
|
||||
{
|
||||
#region 后端=================================================================================
|
||||
|
||||
/// <summary>
|
||||
/// 页面布局类
|
||||
/// </summary>
|
||||
[Display(Name = "页面布局类")]
|
||||
public class FmPagesUpdate
|
||||
{
|
||||
[Display(Name = "区域编码")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public string pageCode { get; set; }
|
||||
|
||||
[Display(Name = "数据子集")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public List<items> datalist { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 数据子集类型
|
||||
/// </summary>
|
||||
[Display(Name = "数据子集类型")]
|
||||
public class items
|
||||
{
|
||||
[Display(Name = "数据子集类型")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public string sType { get; set; }
|
||||
|
||||
[Display(Name = "数据子集值")]
|
||||
[Required(ErrorMessage = "请输入{0}")]
|
||||
public string sValue { get; set; }
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
#region 小程序交互=================================================================================
|
||||
|
||||
/// <summary>
|
||||
/// 获取随机用户购买记录提交参数
|
||||
/// </summary>
|
||||
public class FMGetRecodPost
|
||||
{
|
||||
public string type { get; set; }
|
||||
public int value { get; set; }
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
22
CoreCms.Net.Model/FromBody/FmPinTuan.cs
Normal file
22
CoreCms.Net.Model/FromBody/FmPinTuan.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2021/1/31 21:45:10
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
namespace CoreCms.Net.Model.FromBody
|
||||
{
|
||||
/// <summary>
|
||||
/// 根据订单id取拼团信息提交参数
|
||||
/// </summary>
|
||||
public class FMGetPinTuanTeamPost
|
||||
{
|
||||
public string orderId { get; set; } = "";
|
||||
public int teamId { get; set; } = 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user