浏览代码

提交数据

lvhao 3 月之前
父节点
当前提交
41f22a676f
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      core/CoreApp/controllers/Systemprint.php

+ 2 - 1
core/CoreApp/controllers/Systemprint.php

@@ -2569,7 +2569,7 @@ class Systemprint extends Start_Controller {
 			$del = $this->cne->get_del($fullorder['waybillid']);
 		}
 		$barcode = $this->cne->get_data($fullorder);
-		$this->logic_ding->sendToDing("扫面发货单出运单".json_encode($fullorder,JSON_UNESCAPED_UNICODE));
+		$this->logic_ding->sendToDing("扫面发货单出运单".json_encode($barcode,JSON_UNESCAPED_UNICODE));
 		if($barcode['x'] == 1)
 		{
 			$bctime = date('Ymd',$time);
@@ -2591,6 +2591,7 @@ class Systemprint extends Start_Controller {
 				if($this->$fullorder_name->save(array('waybill'=>$Hwaybill,'waybillid'=>$barcode['waybillid'],'printtime'=>$time,'printnumber'=>$fullorder['printnumber'],'print'=>3,'oldwaybill'=>$oldwaybill,'oldprinttime'=>$oldprinttime),$info['id']))
 				{
 					$text = array('yd'=>base_url().'data/pdf/'.$bctime.'/y-'.$Hwaybill.'.pdf','mode'=>100);
+					$this->logic_ding->sendToDing("扫面发货单出运单的text".json_encode($text,JSON_UNESCAPED_UNICODE));
 					echo json_encode([
 						'code'=>1,
 						'msg'=>"ok",