|
|
|
@ -11,10 +11,6 @@ use User\Api\UserApi as UserApi;
|
|
|
|
|
class SpendController extends ThinkController
|
|
|
|
|
{
|
|
|
|
|
const model_name = 'Spend';
|
|
|
|
|
const IsCheckStr=[
|
|
|
|
|
"1"=>"是",
|
|
|
|
|
"2"=>"否"
|
|
|
|
|
];
|
|
|
|
|
public $OpAuthList;
|
|
|
|
|
|
|
|
|
|
public function lists()
|
|
|
|
@ -156,7 +152,7 @@ class SpendController extends ThinkController
|
|
|
|
|
foreach ($data['data'] as $key=>&$value ) {
|
|
|
|
|
($value['promote_account']=='官方渠道')?($value['promote_account']=C('OFFICIEL_CHANNEL')):'';
|
|
|
|
|
$value['market_admin_username'] = $adminUsernameList[$value['market_admin_id']] ?? '无';
|
|
|
|
|
$value['is_check_str'] = self::IsCheckStr[$value['is_check']];
|
|
|
|
|
$value['is_check_str'] = D(self::model_name)::IsCheckStr[$value['is_check']];
|
|
|
|
|
}
|
|
|
|
|
$this->assign('showMarketAdmin', session('user_auth')['show_market_admin']);
|
|
|
|
|
$this->assign('showPromote', session('user_auth')['show_promote']);
|
|
|
|
|