Browse Source

Merge branch 'master-new-wgg' of wugg/phpstock into master-new

wugg 2 years ago
parent
commit
26eeeffb0b
2 changed files with 2 additions and 2 deletions
  1. 1 1
      app/admin/controller/After.php
  2. 1 1
      app/admin/controller/Reorder.php

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

@@ -455,7 +455,7 @@ class After extends Base
 
         //校验是否开通了供应商账号
         $supp_account = checkHasAccountBySupplierNos([$info['supplierNo']]);
-        $info['has_account']=(int)isset($supp_account[$value['supplierNo']]);
+        $info['has_account']=(int)isset($supp_account[$info['supplierNo']]);
 
 
         return app_show(0, "获取成功", $info);

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

@@ -751,7 +751,7 @@ class Reorder extends Base
 
         //校验是否开通了供应商账号
         $supp_account = checkHasAccountBySupplierNos([$info['supplierNo']]);
-        $info['has_account']=(int)isset($supp_account[$value['supplierNo']]);
+        $info['has_account']=(int)isset($supp_account[$info['supplierNo']]);
 
         return json_show(0, "获取成功", $info);
     }