|
@@ -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']: '',
|