1
This commit is contained in:
parent
375838e685
commit
d3de48d0bd
@ -9,12 +9,19 @@ class AccountVerifyController extends BaseController {
|
|||||||
$guestAccount = getReqVal('guest_account', '');
|
$guestAccount = getReqVal('guest_account', '');
|
||||||
$targetPlat = getReqVal('target_plat', '');
|
$targetPlat = getReqVal('target_plat', '');
|
||||||
$targetAccount = getReqVal('target_account', '');
|
$targetAccount = getReqVal('target_account', '');
|
||||||
|
$channel = phpcommon\extractChannel($guestAccount);
|
||||||
|
$gameId = phpcommon\extractGameId($guestAccount);
|
||||||
|
if ($channel != TAPTAP_CHANNEL ||
|
||||||
|
$gameId != 2006) {
|
||||||
|
myself()->_rspErr(1, 'guest_account error');
|
||||||
|
return;
|
||||||
|
}
|
||||||
{
|
{
|
||||||
$row = SqlHelper::ormSelectOne(
|
$row = SqlHelper::ormSelectOne(
|
||||||
myself()->_getMysql(''),
|
myself()->_getMysql(''),
|
||||||
't_user',
|
't_user',
|
||||||
array(
|
array(
|
||||||
'account_id' => TAPTAP_CHANNEL . '_2006_' . $guestAccount
|
'account_id' => $guestAccount
|
||||||
));
|
));
|
||||||
if (!$row) {
|
if (!$row) {
|
||||||
myself()->_rspErr(1, 'guest_account not found');
|
myself()->_rspErr(1, 'guest_account not found');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user