| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <?php
- global $app;
- helper::import($app->getModulePath('', 'im') . 'model.php');
- class extimModel extends imModel
- {
- public function getExtensionList($userID)
- {
- return $this->loadExtension('xuanxuan')->getExtensionList($userID);
- }
- public function editUser($user = null)
- {
- return $this->loadExtension('xuanxuan')->editUser($user);
- }
- public function getServer($backend = 'xxb')
- {
- return $this->loadExtension('xuanxuan')->getServer($backend);
- }
- public function uploadFile($fileName, $path, $size, $time, $userID, $users, $chat)
- {
- return $this->loadExtension('xuanxuan')->uploadFile($fileName, $path, $size, $time, $userID, $users, $chat);
- }
- public function chatAddAction($chatId = '', $action = '', $actorId = '', $result = '', $comment = '')
- {
- return $this->loadExtension('xuanxuan')->chatAddAction($chatId, $action, $actorId, $result, $comment);
- }
- public function userAddAction($user, $actionType, $result, $comment = '', $common = false)
- {
- return $this->loadExtension('xuanxuan')->userAddAction($user, $actionType, $result, $comment, $common);
- }
- public function messageGetNotifyList()
- {
- return $this->loadExtension('xuanxuan')->messageGetNotifyList();
- }
- public function getAiChatLatestContext($moduleId, $userId)
- {
- return $this->loadExtension('xuanxuan')->getAiChatLatestContext($moduleId, $userId);
- }
- //**//
- }
|