zxhxx hai 1 ano
pai
achega
5970676680
Modificáronse 1 ficheiros con 4 adicións e 3 borrados
  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']: '',