mirror of
https://gitee.com/ShopeX/OMS
synced 2026-04-03 14:15:46 +08:00
31 lines
766 B
PHP
31 lines
766 B
PHP
<?php
|
||
/**
|
||
* Copyright © ShopeX (http://www.shopex.cn). All rights reserved.
|
||
* See LICENSE file for license details.
|
||
*/
|
||
|
||
class logisticsmanager_waybill_yunda {
|
||
|
||
public static $businessType = array(
|
||
'PRO_LOCAL_SERVER' => 1,
|
||
);
|
||
|
||
/**
|
||
* 获取物流公司编码
|
||
* @param Sring $logistics_code 物流代码
|
||
*/
|
||
public function logistics($logistics_code = '') {
|
||
$logistics = array(
|
||
'PRO_LOCAL_SERVER' => array('code'=>'PRO_LOCAL_SERVER','name'=>'本地服务'),
|
||
);
|
||
|
||
if (!empty($logistics_code)) {
|
||
return $logistics[$logistics_code];
|
||
}
|
||
return $logistics;
|
||
}
|
||
|
||
public static function getBusinessType($type) {
|
||
return self::$businessType[$type];
|
||
}
|
||
} |