Browse Source

禁用一个没有备注日志的库存变动

lvhao 2 weeks ago
parent
commit
9faa31e084
1 changed files with 2 additions and 0 deletions
  1. 2 0
      core/CoreApp/controllers/Whlabel.php

+ 2 - 0
core/CoreApp/controllers/Whlabel.php

@@ -344,6 +344,8 @@ class Whlabel extends Start_Controller
 					exit;
 				}
 			} else {
+				echo json_encode(array('msg' => '此方法禁用!', 'success' => false));
+				exit;
 				$sku = $this->input->post('outsku', true);
 				if ($sku) {
 					$data = $this->whlabel->find_all("sku = '$sku' and state = '10' and warehouse = '5'");