|
...
|
...
|
@@ -13,6 +13,7 @@ use App\Models\Manage\Manage; |
|
|
|
use App\Models\User\User;
|
|
|
|
use App\Models\WebSetting\WebLanguage;
|
|
|
|
use App\Services\HumanizeAiTextService;
|
|
|
|
use App\Services\WordAiService;
|
|
|
|
use Illuminate\Support\Facades\Cache;
|
|
|
|
use Illuminate\Support\Facades\Hash;
|
|
|
|
|
|
...
|
...
|
@@ -190,6 +191,25 @@ class IndexController extends BaseController |
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @remark :去Ai痕迹
|
|
|
|
* @name :notWordAi
|
|
|
|
* @author :lyh
|
|
|
|
* @method :post
|
|
|
|
* @time :2025/11/19 17:57
|
|
|
|
*/
|
|
|
|
public function notWordAiHumanizer()
|
|
|
|
{
|
|
|
|
$this->request->validate([
|
|
|
|
'text'=>'required',
|
|
|
|
],[
|
|
|
|
'text.required' => '文本text不能为空',
|
|
|
|
]);
|
|
|
|
$wordAiService = new WordAiService();
|
|
|
|
$data = $wordAiService->setApiAvoid($this->param['text']);
|
|
|
|
$this->response('success', Code::SUCCESS, $data);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @remark :翻译
|
|
|
|
* @name :stringTranslation
|
|
|
|
* @author :lyh
|
...
|
...
|
|