|
@@ -210,7 +210,7 @@ class Station extends CatchController
|
|
|
$count = $this->stationModel->limit(100)->insertAll($data);
|
|
|
if ($count) {
|
|
|
|
|
|
- return CatchResponse::success('共' . $total . '条数据,成功' . $count . '条,失败' . $total-$count . '条');
|
|
|
+ return CatchResponse::success('共' . $total . '条数据,成功' . $count . '条,失败' . ($total-$count) . '条');
|
|
|
|
|
|
}
|
|
|
return CatchResponse::success(['error' => true, 'msg' => '导入失败']);
|