Files
OMS/app/omeauto/lib/split/abstract.php
2025-12-28 23:13:25 +08:00

36 lines
932 B
PHP
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.
<?php
/**
* Copyright © ShopeX http://www.shopex.cn. All rights reserved.
* See LICENSE file for license details.
*/
/**
* ============================
* @Author: yaokangming
* @Version: 1.0
* @DateTime: 2020/7/14 10:05:46
* @describe: 拆单规则抽象类
* ============================
*/
abstract class omeauto_split_abstract {
#拆单规则配置获取数据
abstract public function getSpecial();
#拆单规则保存前处理 return array(true, '保存成功')
abstract public function preSaveSdf(&$sdf);
#拆分订单
abstract public function splitOrder(&$group, $splitConfig);
/**
* splitOrderFromSplit
* @param mixed $arrOrder arrOrder
* @param mixed $group group
* @param mixed $splitConfig 配置
* @return mixed 返回值
*/
public function splitOrderFromSplit(&$arrOrder, &$group, $splitConfig) {
return array(true);
}
}