if (empty($_GPC['account'])) { exit(json_encode(['result' => false, 'msg' => '账号为空'])); } $code = strtolower($_GPC['code']); $hash = md5($code . $_W['config']['setting']['authkey']); if ($_GPC['__code'] != $hash) { exit(json_encode(['result' => false, 'msg' => '你输入的验证码不正确, 请重新输入.'])); } checkQueryLimit(); $reportType = pdo_fetchall("SELECT * FROM " . tablename('report_type'), array(), 'id'); $accountStatus = pdo_fetchall("SELECT * FROM " . tablename('account_status'), array(), 'id'); $setting = setting_load(); load()->model('account'); $account = account($_GPC['account'], true); if ($account) { cly_cash_refresh($account); $status = $account['status_id']; $authTime = empty($account['auth_time']) ? '' : date('Y-m-d', $account['auth_time']); $faker = <<<EOT <tr style="color:red;font-weight:bold;height:40px"> <td colspan="4"> {$_GPC['account']}已被多数用户举报为恶意号码,请用户谨慎合作 </td> </tr> <tr style="color:red;font-weight:bold;height:40px"> <td colspan="2"> 备注:{$account['remark']} </td> <td colspan="1"> <h1>危险</h1> </td>
function cly_cash_refresh_byId($id) { $account = pdo_fetch("SELECT * FROM " . tablename('account') . " WHERE id=:id"); cly_cash_refresh($account); }