xuanxuan.php 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. public function getExtensionList($userID)
  3. {
  4. return $this->loadExtension('xuanxuan')->getExtensionList($userID);
  5. }
  6. public function editUser($user = null)
  7. {
  8. return $this->loadExtension('xuanxuan')->editUser($user);
  9. }
  10. public function getServer($backend = 'xxb')
  11. {
  12. return $this->loadExtension('xuanxuan')->getServer($backend);
  13. }
  14. public function uploadFile($fileName, $path, $size, $time, $userID, $users, $chat)
  15. {
  16. return $this->loadExtension('xuanxuan')->uploadFile($fileName, $path, $size, $time, $userID, $users, $chat);
  17. }
  18. public function chatAddAction($chatId = '', $action = '', $actorId = '', $result = '', $comment = '')
  19. {
  20. return $this->loadExtension('xuanxuan')->chatAddAction($chatId, $action, $actorId, $result, $comment);
  21. }
  22. public function userAddAction($user, $actionType, $result, $comment = '', $common = false)
  23. {
  24. return $this->loadExtension('xuanxuan')->userAddAction($user, $actionType, $result, $comment, $common);
  25. }
  26. public function messageGetNotifyList()
  27. {
  28. return $this->loadExtension('xuanxuan')->messageGetNotifyList();
  29. }
  30. public function getAiChatLatestContext($moduleId, $userId)
  31. {
  32. return $this->loadExtension('xuanxuan')->getAiChatLatestContext($moduleId, $userId);
  33. }