zxhxx 1 jaar geleden
bovenliggende
commit
5970676680
1 gewijzigde bestanden met toevoegingen van 4 en 3 verwijderingen
  1. 4 3
      Model/Shop/MShop.Class.php

+ 4 - 3
Model/Shop/MShop.Class.php

@@ -149,15 +149,16 @@ class MShop extends MBaseModel
         if($params['recommend_user_id']>0)
         {
             $objMBasicSetup = new MBasicSetup($this->enterpriseId);
-            var_dump($objMBasicSetup->getBasicField('yhtjmd')->getData());
+            $yhtjmd =  $objMBasicSetup->getBasicField('yhtjmd')->getData()['yhtjmd'];
+
             $memberBalanceDetailData = [
                 'customerId' => $params['customerId'],
                 'type'       => 5,
                 'userCenterId' => $params['recommend_user_id'],
-                'money'         => $objMBasicSetup->getBasicField('yhtjmd')->getData(),
+                'money'         => $yhtjmd,
                 'purpose'    =>  '推荐门店获得',
                 'orderIds'      =>'',
-                'remark'     => '推荐门店获得'.$objMBasicSetup->getBasicField('yhtjmd')->getData(),
+                'remark'     => '推荐门店获得'.$yhtjmd,
                 'financeType' => '推荐门店获得',
                 'accountId' => isset($params['accountId']) ? $params['accountId']: 0,
                 'accountName' => isset($params['accountName']) ? $params['accountName']: '',