Commit aebc2ffd authored by rlgy's avatar rlgy

bugfix

parent db6d7b00
......@@ -128,8 +128,8 @@ class CoinReleaseCheckController extends BaseController
//获取所有管理员
$admins = $this->getAccessAdmins();
foreach ($datas as $key => &$value) {
$value['check_first_uid'] = $value['check_first_uid'] ? $admins[$value['check_first_uid']] : '';
$value['check_second_uid'] = $value['check_second_uid'] ? $admins[$value['check_second_uid']] : '';
$value['check_first_uid'] = isset($admins[$value['check_first_uid']]) ? $admins[$value['check_first_uid']] : '';
$value['check_second_uid'] = isset($admins[$value['check_second_uid']]) ? $admins[$value['check_second_uid']] : '';
}
return ['code' => 0, 'count' => $count, 'data' => $datas];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment