mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 19:53:27 +08:00
升级自定义交易组件常用商品接口,spu接口,品牌接口,订单接口,物流接口。
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
/***********************************************************************
|
||||
* Project: CoreCms
|
||||
* ProjectName: 核心内容管理系统
|
||||
* Web: https://www.corecms.net
|
||||
* Author: 大灰灰
|
||||
* Email: jianweie@163.com
|
||||
* CreateTime: 2022/6/29 16:22:45
|
||||
* Description: 暂无
|
||||
***********************************************************************/
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq.Expressions;
|
||||
using System.Threading.Tasks;
|
||||
using CoreCms.Net.Model.Entities;
|
||||
using CoreCms.Net.Model.ViewModels.Basics;
|
||||
using CoreCms.Net.Model.ViewModels.UI;
|
||||
using SqlSugar;
|
||||
|
||||
namespace CoreCms.Net.IServices
|
||||
{
|
||||
/// <summary>
|
||||
/// 微信交易组件下单前置检查 服务工厂接口
|
||||
/// </summary>
|
||||
public interface ICoreCmsCheckBeforeAddOrderServices : IBaseServices<CoreCmsCheckBeforeAddOrder>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -66,10 +66,13 @@ namespace CoreCms.Net.IServices
|
||||
/// <param name="taxCode">发票税务编码</param>
|
||||
/// <param name="objectId">关联非普通订单营销功能的序列</param>
|
||||
/// <param name="teamId">拼团订单分组序列</param>
|
||||
/// <param name="requireOrder">微信自定义组件(是否需要推单,1:需要,0:不需要)</param>
|
||||
/// <param name="requiredFundType">微信自定义组件(requireOrder = 1时生效,0,非二级商户号订单,1,二级商户号订单,2,两种方式皆可(后续只会存在1))</param>
|
||||
/// <param name="traceId">微信自定义组件(跟踪ID,有效期十分钟,会影响主播归因、分享员归因等,需创建订单前调用,调用生成订单 api 时需传入该参数)</param>
|
||||
/// <returns></returns>
|
||||
Task<WebApiCallBack> ToAdd(int userId, int orderType, string cartIds, int receiptType, int ushipId, int storeId,
|
||||
string ladingName, string ladingMobile, string memo, int point, string couponCode,
|
||||
int source, int scene, int taxType, string taxName, string taxCode, int objectId, int teamId);
|
||||
int source, int scene, int taxType, string taxName, string taxCode, int objectId, int teamId, int requireOrder, int requiredFundType, string traceId);
|
||||
|
||||
/// <summary>
|
||||
/// 获取订单信息
|
||||
@@ -230,8 +233,9 @@ namespace CoreCms.Net.IServices
|
||||
/// <param name="orderId"></param>
|
||||
/// <param name="score">有序队列积分</param>
|
||||
/// <param name="remark"></param>
|
||||
/// <param name="source">来源/system(系统)/wxpost(微信消息推送)</param>
|
||||
/// <returns></returns>
|
||||
Task<WebApiCallBack> CompleteOrder(string orderId, int score = 0, string remark = "后台订单完成操作");
|
||||
Task<WebApiCallBack> CompleteOrder(string orderId, int score = 0, string remark = "后台订单完成操作",string source="system");
|
||||
|
||||
/// <summary>
|
||||
/// 确认签收订单
|
||||
|
||||
Reference in New Issue
Block a user