ywtc_api/application/activity/info.php

57 lines
1.9 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<?php
// +----------------------------------------------------------------------
// | 海豚PHP框架 [ DolphinPHP ]
// +----------------------------------------------------------------------
// | 版权所有 2016~2017 河源市卓锐科技有限公司 [ http://www.zrthink.com ]
// +----------------------------------------------------------------------
// | 官方网站: http://dolphinphp.com
// +----------------------------------------------------------------------
// | 开源协议 ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
/**
* 模块信息
*/
return [
//模块名[必填]
'name' => 'activity',
// 模块标题[必填]
'title' => '活动',
// 模块唯一标识[必填],格式:模块名.开发者标识.module
'identifier' => 'activity.maurylee.module',
// 模块图标[选填]
'icon' => 'fa fa-fw fa-font',
// 模块描述[选填]
'description' => '活动模块',
// 开发者[必填]
'author' => 'maurylee',
// 开发者网址[选填]
'author_url' => '',
// 版本[必填],格式采用三段式:主版本号.次版本号.修订版本号
'version' => '1.0.0',
// 模块依赖[可选],格式[[模块名, 模块唯一标识, 依赖版本, 对比方式]]
'need_module' => [],
// 插件依赖[可选],格式[[插件名, 插件唯一标识, 依赖版本, 对比方式]]
'need_plugin' => [],
// 数据表[有数据库表时必填]
'tables' => [],
// 原始数据库表前缀
// 用于在导入模块sql时将原有的表前缀转换成系统的表前缀
// 一般模块自带sql文件时才需要配置
'database_prefix' => '',
//模块参数配置
'config' => [],
// 行为配置
'action' => [],
// 授权配置
'access' => [],
];