|
@@ -633,13 +633,13 @@ class Systemfout extends Start_Controller {
|
|
|
// 66 云途(欧洲) 67 云途(欧洲)-带保险 如果是欧洲云途 需要检擦出库时间是否超过15天
|
|
// 66 云途(欧洲) 67 云途(欧洲)-带保险 如果是欧洲云途 需要检擦出库时间是否超过15天
|
|
|
if(in_array($y['express'],[66,67,82])){
|
|
if(in_array($y['express'],[66,67,82])){
|
|
|
if((time() - $y['printtime']) >= (14*24*3600)){
|
|
if((time() - $y['printtime']) >= (14*24*3600)){
|
|
|
- echo json_encode(array('msg'=>'运单超时!请联系梦体处理!','success'=>false));exit;
|
|
|
|
|
|
|
+ echo json_encode(array('msg'=>'运单超时!请联系会珍/梦体处理!','success'=>false));exit;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
// 50 惠程-联邦-9610 93 惠程-联邦-不报关 超过90小时不允许出库
|
|
// 50 惠程-联邦-9610 93 惠程-联邦-不报关 超过90小时不允许出库
|
|
|
if(in_array($y['express'],[50,93])){
|
|
if(in_array($y['express'],[50,93])){
|
|
|
if((time() - $y['printtime']) >= (135*3600)){
|
|
if((time() - $y['printtime']) >= (135*3600)){
|
|
|
- echo json_encode(array('msg'=>'该运单超时,请联系梦体处理!','success'=>false));exit;
|
|
|
|
|
|
|
+ echo json_encode(array('msg'=>'该运单超时,请联系会珍/梦体处理!','success'=>false));exit;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -781,7 +781,7 @@ class Systemfout extends Start_Controller {
|
|
|
//规定实际重量不允许超过 净重为1kg
|
|
//规定实际重量不允许超过 净重为1kg
|
|
|
if($numweight -($y['jweight']/1000) > 1 )
|
|
if($numweight -($y['jweight']/1000) > 1 )
|
|
|
{
|
|
{
|
|
|
- echo json_encode(array('msg'=>'称重重量和净重相差过大,请找成会处理!','success'=>false));exit;
|
|
|
|
|
|
|
+ echo json_encode(array('msg'=>'称重重量和净重相差过大,请找梦体处理!','success'=>false));exit;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -795,11 +795,10 @@ class Systemfout extends Start_Controller {
|
|
|
{
|
|
{
|
|
|
//echo json_encode(array('yd'=>1,'id'=>$y['id'],'express'=>$y['express'],'name'=>$fullorder_name,'success'=>true));exit;
|
|
//echo json_encode(array('yd'=>1,'id'=>$y['id'],'express'=>$y['express'],'name'=>$fullorder_name,'success'=>true));exit;
|
|
|
}
|
|
}
|
|
|
- if((time() - $y['printtime']) > (6*24*3600) && $y['express'] == '3' && $y['type'] != 6)//杭州店铺除外
|
|
|
|
|
- {
|
|
|
|
|
- //echo json_encode(array('yd'=>1,'id'=>$y['id'],'express'=>$y['express'],'name'=>$fullorder_name,'success'=>true));exit;
|
|
|
|
|
- echo json_encode(array('msg'=>'此运单过期无法出库,请联系成会处理!','success'=>false));exit;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // if((time() - $y['printtime']) > (6*24*3600) && $y['express'] == '3' && $y['type'] != 6)//杭州店铺除外
|
|
|
|
|
+ // {
|
|
|
|
|
+ // echo json_encode(array('msg'=>'此运单过期无法出库,请联系梦体处理!','success'=>false));exit;
|
|
|
|
|
+ // }
|
|
|
if((time() - $y['printtime']) > (7*24*3600) && $y['express'] == '37' && $y['type'] != 6)//杭州店铺除外
|
|
if((time() - $y['printtime']) > (7*24*3600) && $y['express'] == '37' && $y['type'] != 6)//杭州店铺除外
|
|
|
{
|
|
{
|
|
|
//echo json_encode(array('yd'=>1,'id'=>$y['id'],'express'=>$y['express'],'name'=>$fullorder_name,'success'=>true));exit;
|
|
//echo json_encode(array('yd'=>1,'id'=>$y['id'],'express'=>$y['express'],'name'=>$fullorder_name,'success'=>true));exit;
|
|
@@ -1354,7 +1353,7 @@ class Systemfout extends Start_Controller {
|
|
|
}
|
|
}
|
|
|
else if($express['printcode'] == "UPS")//接口UPS暂时不打
|
|
else if($express['printcode'] == "UPS")//接口UPS暂时不打
|
|
|
{
|
|
{
|
|
|
- echo json_encode(array('msg'=>'此订单超期无法出库,请联系成会处理','success'=>false));exit;
|
|
|
|
|
|
|
+ echo json_encode(array('msg'=>'此订单超期无法出库,请联系梦体处理','success'=>false));exit;
|
|
|
$barcode = $this->ups->get_data($fullorder);//获取快递信息
|
|
$barcode = $this->ups->get_data($fullorder);//获取快递信息
|
|
|
if($barcode['x'] == 1)
|
|
if($barcode['x'] == 1)
|
|
|
{
|
|
{
|
|
@@ -1426,7 +1425,7 @@ class Systemfout extends Start_Controller {
|
|
|
}
|
|
}
|
|
|
else
|
|
else
|
|
|
{
|
|
{
|
|
|
- echo json_encode(array('msg'=>'此订单超期无法出库,请联系成会或者梦体处理','success'=>false));exit;
|
|
|
|
|
|
|
+ echo json_encode(array('msg'=>'此订单超期无法出库,请联系梦体处理','success'=>false));exit;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|