فهرست منبع

修改在途异常的问题

lvhao 2 هفته پیش
والد
کامیت
a1005d37ea
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      core/CoreApp/controllers/Whlabeltransport.php

+ 3 - 0
core/CoreApp/controllers/Whlabeltransport.php

@@ -368,6 +368,9 @@ class Whlabeltransport extends Start_Controller {
 					}
 					}
 					**/
 					**/
 				}
 				}
+				if(empty($data['num'])){
+					echo json_encode(array('msg'=>'数量不能为空!','success'=>false));exit;
+				}
 				$this->db->trans_begin();
 				$this->db->trans_begin();
 				for($i=0;$i<$data['num'];$i++)
 				for($i=0;$i<$data['num'];$i++)
 			    {
 			    {