作者 王智

修复生成订单号 失败

... ... @@ -278,7 +278,7 @@ class Add extends Api
$data['BatteryOk'] = [];
$data['About'] = [];
$data['Count'] = count(Db::name('hdxxsj')->where($map)->where('stor_id', $StorID)->select());
$data['Count'] = Db::name('stor')->where('id', $StorID)->value('status');
$data['StorStatus'] = Db::name('stor')->where('id', $StorID)->value('status');
/*充电中*/
$data['BatteryCenter'] = Db::name('cp')->where('stor_id', $StorID)->where('status', 1)->field('battery_type_id')->select();
/*锁定*/
... ...