Files
OMS/app/ome/lib/wms.php
2025-12-28 23:13:25 +08:00

54 lines
1.1 KiB
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.
*/
class ome_wms{
public static $wms_status = array(
'ready' => array('10','20','30'),
'succ' =>array('40'),
);
/**
* notify
* @param mixed $delivery_id ID
* @return mixed 返回值
*/
public function notify($delivery_id){
ome_delivery_notice::notify($delivery_id);
}
/**
* 获取PlatformBranchs
* @param mixed $branch_id ID
* @param mixed $type type
* @return mixed 返回结果
*/
public function getPlatformBranchs($branch_id,$type){
$branchs = app::get('ome')->model('branch_relation')->dump(array ('branch_id'=>$branch_id,'type' => $type));
return $branchs;
}
/**
* 获取Platform
* @param mixed $type type
* @return mixed 返回结果
*/
public function getPlatform($type){
$branchs = app::get('ome')->model('branch_relation')->dump(array('type' => $type));
return $branchs;
}
}