|
@@ -59,6 +59,7 @@ class InOutOptionService extends Service
|
|
if(! in_array($order_it, $tmp)){
|
|
if(! in_array($order_it, $tmp)){
|
|
$str = @hex2bin($order['epc']);
|
|
$str = @hex2bin($order['epc']);
|
|
$str = ltrim($str, "\x00");
|
|
$str = ltrim($str, "\x00");
|
|
|
|
+ $str = str_replace(chr(26), '', $str); //过滤CRTL-Z字符
|
|
if(! empty($str) && substr($str, 0, 2) === "BZ"){
|
|
if(! empty($str) && substr($str, 0, 2) === "BZ"){
|
|
$order['epc'] = $str;
|
|
$order['epc'] = $str;
|
|
$order['site'] = $site;
|
|
$order['site'] = $site;
|