Beispiel #1
0
 case 'hasinlinemsg':
     $touid = MooGetGPC('touid', 'string', 'G');
     $chatcheck = new ChatAction();
     $data = $chatcheck->hasInlineChat($touid);
     header("Content-type: text/html; charset=utf-8");
     if (!$data) {
         echo '0';
     } else {
         echo serialize($data);
     }
     break;
 case 'isread':
     $touid = MooGetGPC('tid', 'string', 'G');
     $fromuid = MooGetGPC('fid', 'string', 'G');
     $chatcheck = new ChatAction();
     $chatcheck->isRead($fromuid, $touid);
     break;
     /*case 'clear'://清空某会员的在线聊天提示信息
     		$touid = MooGetGPC('tid','string','G');
     		$chatcheck = new ChatAction();
     		$chatcheck -> hasReadMsg($touid);
     		break;*/
 /*case 'clear'://清空某会员的在线聊天提示信息
 		$touid = MooGetGPC('tid','string','G');
 		$chatcheck = new ChatAction();
 		$chatcheck -> hasReadMsg($touid);
 		break;*/
 case 'test':
     include 'module/chat/test/getuserdata.php';
     break;
 default: