lvhao hace 1 mes
padre
commit
34d7b2f9de
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      core/CoreApp/models/Model_ck.php

+ 1 - 0
core/CoreApp/models/Model_ck.php

@@ -148,6 +148,7 @@ class Model_ck extends Lin_Model
 					$save[] = $x-1;continue;//提前先加X不然出错,所以要减1
 				}
 			}
+			$this->logic_ding->sendToDing("2库存验证数据【".$number."】".json_encode($num)."库存数量:".($wh+$shopwh)."仓库的占单模式".$warehouse['zdms']);
 			if(isset($save[0]) && $warehouse['zdms'] == 2)
             {
 				return array('t'=>1,'m'=>json_encode(array('t'=>2,'msg'=>"红色商品名库存不够扣减或不允许占单",'error'=>$save,'hq'=>"state = '0' and number = '$num[0]' and warehouse = '".$warehouse['id']."' and (zd = '$number' or zd = '') and (shop IS NULL or shop = '')",'success'=>false)));exit;