|
@@ -15,6 +15,7 @@ class MerchantAssetClass extends BaseClass
|
|
|
//客户和粉丝数+1,$type 1只加客 2只加粉丝 3既加客也加粉丝 shish 2019.9.7
|
|
//客户和粉丝数+1,$type 1只加客 2只加粉丝 3既加客也加粉丝 shish 2019.9.7
|
|
|
public static function addUserNum($merchantId, $type = 1)
|
|
public static function addUserNum($merchantId, $type = 1)
|
|
|
{
|
|
{
|
|
|
|
|
+ return true;
|
|
|
$asset = self::getByMerchantId($merchantId, true);
|
|
$asset = self::getByMerchantId($merchantId, true);
|
|
|
if ($type == 2) {
|
|
if ($type == 2) {
|
|
|
$asset->totalFans += 1;
|
|
$asset->totalFans += 1;
|