<?phpclass ApiController extends BaseController{ protected $appId = ''; protected $actions = [ 'accountRegister', 'accountUpdate', 'accountInfo', 'accountSendCode', 'accountReset', 'accountToken', 'bindGoogleAuth', 'validateGoogleAuth', 'messageList', 'walletTransfers', 'walletList', 'walletCoin', ]; protected $afterActions = [ 'accountRegister' => ['walletInit','walletAddCoin'], ]; protected $beforeActions = [ ]; public function __call($name, $params) { // TODO: Implement __call() method. $actionName = lcfirst($name); if(!in_array($actionName,$this->actions)) { throw new Exception("The action