lvhao 6 дней назад
Родитель
Сommit
ce11465a80
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      core/CoreApp/controllers/Systemprint.php

+ 3 - 3
core/CoreApp/controllers/Systemprint.php

@@ -1761,14 +1761,14 @@ class Systemprint extends Start_Controller {
 						$failed = $barcode['Description'];//错误提示
 						$this->$fullorder_name->save(array('print'=>1,'failed'=>$failed),$va[$n]);
 					}
-				}elseif(($fullorder['printcode'] == "TTUK") || ($fullorder['printcode'] == "TTUS")){
+				}elseif(($fullorder['printcode'] == "TTUK") || ($fullorder['printcode'] == "TTUS") || ($fullorder['printcode'] == "TTSP")){
 					$pdf_width_model = 85;
 					if($fullorder['printcode'] == "TTUK"){
 						$barcode = $this->express_tt->get_data($fullorder,"FBT");
 						$this->logic_ding->sendToDing("TTUK获取快递面单".json_encode($barcode));
-					}elseif($fullorder['printcode'] == "TTUS"){
+					}elseif($fullorder['printcode'] == "TTUS" || $fullorder['printcode'] == "TTSP"){
 						$barcode = $this->express_tt->get_data($fullorder,"CBT");
-						$this->logic_ding->sendToDing("TTUS获取快递面单".json_encode($barcode));
+						$this->logic_ding->sendToDing("CBT获取快递面单".json_encode($barcode));
 						$pdf_width_model = 90;
 					}else{
 						$barcode = [