TextModeration.php 541 B

123456789101112131415161718192021222324252627
  1. <?php namespace App\Facades\Servers\Safe;
  2. use Illuminate\Support\Facades\Facade;
  3. /**
  4. * 反欺诈
  5. *
  6. * @method mixed localCheck($content) 只用本地词库检测
  7. * @method mixed textModeration(string $content)检测内容
  8. *
  9. * @see \App\Servers\Safe\TextModeration
  10. *
  11. */
  12. class TextModeration extends Facade
  13. {
  14. /**
  15. * Get the registered name of the component.
  16. *
  17. * @return string
  18. */
  19. protected static function getFacadeAccessor()
  20. {
  21. return '\App\Servers\Safe\TextModeration';
  22. }
  23. }
  24. ?>