wufeng 2 년 전
부모
커밋
fc0e7ba271
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/admin/controller/OrderImport.php

+ 1 - 1
app/admin/controller/OrderImport.php

@@ -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])