McAccount/Controller/user_current.php

14 lines
293 B
PHP

<?php
class user_current extends AmysqlController
{
function current()
{
$money = $this -> _model('current_model') -> money_current($_REQUEST['user']);
if(!$money){
JsonError( "未查询到账号信息!" );
}
JsonSuccess( $money );
}
}
?>