Browse Source

供货商客户+1

林琦海 5 years ago
parent
commit
da80d1f219
1 changed files with 2 additions and 2 deletions
  1. 2 2
      biz/ghs/classes/GhsClass.php

+ 2 - 2
biz/ghs/classes/GhsClass.php

@@ -40,14 +40,14 @@ class GhsClass extends BaseClass
             'lat' => $shop['lat'] ?? '',
             'long' => $shop['long'] ?? '',
         ];
-        //供货商客户+1
-        ShopService::totalUserPlus($ghsShopId);
         return self::addGhs($data);
     }
 
     //增加供货商 shish 2021.3.29
     public static function addGhs($data)
     {
+        //供货商客户+1
+        ShopService::totalUserPlus($data['ghsShopId']);
         return self::add($data);
     }