|
|
|
@ -894,7 +894,8 @@ class FinancePromoteController extends AdminController
|
|
|
|
|
$marketAdmins = getAdminUsernameList($marketAdminIds);
|
|
|
|
|
$adminDepartments = getAdminDepartmentList($marketAdminIds);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$isMarketAdmin = A('Market','Event')->getConfig('isMarket');
|
|
|
|
|
if(!$isMarketAdmin){
|
|
|
|
|
$merchant_data = M("payment_merchant","tab_")
|
|
|
|
|
->field("id,name")
|
|
|
|
|
->where("1=1")
|
|
|
|
@ -904,9 +905,10 @@ class FinancePromoteController extends AdminController
|
|
|
|
|
foreach ($merchant_data as $key => $value) {
|
|
|
|
|
$handle_merchant[$value['id']] = $value['name'];
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
foreach($data as $key => $value) {
|
|
|
|
|
$data[$key]['merchant_name'] = $handle_merchant[$value['merchant_id']];
|
|
|
|
|
$data[$key]['merchant_name'] = $isMarketAdmin ? "--" : $handle_merchant[$value['merchant_id']];
|
|
|
|
|
$data[$key]['pay_way'] = getPayType($value['pay_way']);
|
|
|
|
|
$data[$key]['game_name'] =clearGameNameType($data[$key]['game_name']);
|
|
|
|
|
$data[$key]['sdk_version'] =getGameTypeName($data[$key]['sdk_version']);
|
|
|
|
|