...
|
...
|
@@ -624,6 +624,8 @@ class Index extends Api |
|
|
{
|
|
|
$Arr = Db::name('stor')->select();
|
|
|
$Code = input('battery_code');
|
|
|
$battery_code = explode('-', $Code);
|
|
|
$map['BatteryCode'] = ['LIKE', '%' . $battery_code[1] . '%'];
|
|
|
if (empty($Code) || $Code == '' || $Code == "" || $Code == null) {
|
|
|
$this->error('请先链接蓝牙', 0);
|
|
|
die;
|
...
|
...
|
|