@@ -107,7 +107,7 @@ class OrderImport extends Base
->where('c.id', $id)
->find();
- if ($info) {
+ if (!empty($info)) {
$info['platform_names'] = Db::name('platform')
->whereIn('platform_code', $info['platform_codes'])
->where(['is_del' => 0, 'status' => 1])