mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-30 13:05:34 +08:00
66 lines
1.5 KiB
PHP
66 lines
1.5 KiB
PHP
<?php
|
||
/**
|
||
* Copyright 2012-2026 ShopeX (https://www.shopex.cn)
|
||
*
|
||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||
* you may not use this file except in compliance with the License.
|
||
* You may obtain a copy of the License at
|
||
*
|
||
* http://www.apache.org/licenses/LICENSE-2.0
|
||
*
|
||
* Unless required by applicable law or agreed to in writing, software
|
||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||
* See the License for the specific language governing permissions and
|
||
* limitations under the License.
|
||
*/
|
||
|
||
/**
|
||
* 插件接口
|
||
*
|
||
* @author hzjsq@msn.com
|
||
* @version 0.1b
|
||
*/
|
||
|
||
interface omeauto_auto_plugin_interface {
|
||
|
||
/**
|
||
* 执行入口
|
||
*
|
||
* @param Array $group 要处理的订单组
|
||
* @return Array
|
||
*/
|
||
public function process(&$group, &$confirmRoles=null);
|
||
|
||
/**
|
||
* 获取提示信息
|
||
*
|
||
* @param Array $order 订单内容
|
||
* @return Array
|
||
*/
|
||
public function getAlertMsg(& $order);
|
||
|
||
/**
|
||
* 是否可强制替换检查结果,用于批量审单
|
||
*
|
||
* @param void
|
||
* @return boolean
|
||
*/
|
||
public function canReplaceRole();
|
||
|
||
/**
|
||
* 设置用于强制替换的结果数据
|
||
*
|
||
* @param Mixed $results
|
||
* @return void
|
||
*/
|
||
public function setResult($results = null);
|
||
|
||
/**
|
||
* 获取用于快速审核的选项页,输出HTML代码
|
||
*
|
||
* @param void
|
||
* @return String
|
||
*/
|
||
public function getInputUI();
|
||
} |