add checkParameter
This commit is contained in:
parent
30fdd96b9f
commit
54ed984814
@ -20,14 +20,17 @@ class connect extends BaseController
|
||||
*/
|
||||
public function init()
|
||||
{
|
||||
$this->checkParamter();
|
||||
//dumpvar($this->processRequest());
|
||||
//echo __METHOD__ . " " . __LINE__ . "<br>" . PHP_EOL;
|
||||
// mod check, mayby as exception
|
||||
if($this->checkParameter())
|
||||
{
|
||||
//dumpvar($this->processRequest());
|
||||
//echo __METHOD__ . " " . __LINE__ . "<br>" . PHP_EOL;
|
||||
|
||||
#dumpvar($this->prepareFromTansport($this->prepareDataForTansport($this->processRequest())));
|
||||
#echo __METHOD__ . " " . __LINE__ . "<br>" . PHP_EOL;
|
||||
//die();
|
||||
echo $this->prepareDataForTansport($this->processRequest());
|
||||
#dumpvar($this->prepareFromTansport($this->prepareDataForTansport($this->processRequest())));
|
||||
#echo __METHOD__ . " " . __LINE__ . "<br>" . PHP_EOL;
|
||||
//die();
|
||||
echo $this->prepareDataForTansport($this->processRequest());
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@ -213,7 +216,7 @@ MSQL;
|
||||
return array('EXPORT_FOLDER' => $this->getConfig()->getConfigParam('sShopDir').$sExportFolder."/");
|
||||
}
|
||||
|
||||
public function checkParamter()
|
||||
public function checkParameter()
|
||||
{
|
||||
$aParameter = $this->getParameter();
|
||||
// todo check accesstoken
|
||||
|
Loading…
x
Reference in New Issue
Block a user