|
@@ -2695,7 +2695,12 @@ class Systemprint extends Start_Controller {
|
|
|
if(!empty($info['waybill'])&&!empty($info['waybill'])){
|
|
|
$yd = base_url()."data/pdf/".date('Ymd',$info['printtime']).'/y-'.$info['waybill'].'.pdf' ;
|
|
|
if(file_exists("./data/pdf/".date('Ymd',$info['printtime']).'/y-'.$info['waybill'].'.pdf')){
|
|
|
- $text = array('yd'=>$yd,'mode'=>100);
|
|
|
+ if(!in_array($info['express'],[76,77])){
|
|
|
+ $text = array('yd'=>$yd,'mode'=>100,'type'=>8);
|
|
|
+ }else{
|
|
|
+ $text = array('yd'=>$yd,'mode'=>100,'type'=>1);
|
|
|
+ }
|
|
|
+
|
|
|
$this->logic_ding->sendToDing($info['number']."扫面发货单补发运单的text".json_encode($text,JSON_UNESCAPED_UNICODE));
|
|
|
echo json_encode([
|
|
|
'code'=>1,
|