企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
## 获取插件配置参数 ### 函数原型 array get_addon_settings($addon = '', $mpid = '') ### 函数概览 ~~~ /** * 获取插件配置信息 * @author 艾逗笔<765532665@qq.com> */ function get_addon_settings($addon = '', $mpid = '') { if ($addon == '') { $addon = get_addon(); } if ($mpid == '') { $mpid = get_mpid(); } if (!$addon || !$mpid) { return false; } $addon_settings = D('AddonSetting')->get_addon_settings($addon, $mpid); if (!$addon_settings) { return false; } return $addon_settings; } ~~~