zxhxx 1 年間 前
コミット
5970676680
1 ファイル変更4 行追加3 行削除
  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']: '',