示例#1
0
 function common()
 {
     if ($_GET['action'] == 'logout') {
         BigAppAPI::logout();
     } else {
         if ($_GET['action'] == 'login') {
             BigAppAPI::login();
         }
     }
     echo BIGAPPJSON::encode(array('error_code' => 1, 'error_msg' => lang('plugin/bigapp', 'invalid_param'), 'Variables' => array('auth' => null), 'Message' => array('messageval' => 'for comaptible', 'messagestr' => lang('plugin/bigapp', 'invalid_param'))));
     die(0);
 }