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