* fix priv name.

This commit is contained in:
liwenrui
2023-08-02 14:14:18 +08:00
parent c2d44a3e51
commit 126ec20210
+1 -1
View File
@@ -13,7 +13,7 @@
* @link https://www.zentao.net
*/
?>
<?php if(commonModel::hasPriv('ai', 'executePrompt')):?>
<?php if(commonModel::hasPriv('ai', 'promptExecute')):?>
<?php
$this->app->loadConfig('ai');
$module = $this->app->getModuleName();