|
@@ -12,7 +12,7 @@ class merchant_infoControl extends mbMerchantControl
|
|
|
{
|
|
|
$mchid = $this->mchid();
|
|
|
$model_merchant = Model('merchant');
|
|
|
- $merchant_info = $model_merchant->getMerchantInfo(['mchid' => $mchid], 'mchid,admin_id,name,alarm_amount,ip_white_list,use_key,contact_name,contact_phone,warning_phone');
|
|
|
+ $merchant_info = $model_merchant->getMerchantInfo(['mchid' => $mchid], 'mchid,admin_id,name,alarm_amount,ip_white_list,use_key,contact_name,contact_phone,warning_phone,company_name');
|
|
|
$model_member = Model('member');
|
|
|
$member_info = $model_member->getMemberInfo(['member_id' => $merchant_info['admin_id']], 'available_predeposit');
|
|
|
if (empty($member_info)) {
|
|
@@ -42,7 +42,7 @@ class merchant_infoControl extends mbMerchantControl
|
|
|
{
|
|
|
$mchid = $this->mchid();
|
|
|
$model_merchant = Model('merchant');
|
|
|
- $merchant_info = $model_merchant->getMerchantInfo(['mchid' => $mchid], 'mchid,admin_id,name');
|
|
|
+ $merchant_info = $model_merchant->getMerchantInfo(['mchid' => $mchid], 'mchid,admin_id,name,company_name');
|
|
|
$model_member = Model('member');
|
|
|
$member_info = $model_member->getMemberInfo(['member_id' => $merchant_info['admin_id']], 'available_predeposit');
|
|
|
if (empty($member_info)) {
|