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