定制 cookyii/module-client 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

cookyii/module-client

Composer 安装命令:

composer require cookyii/module-client

包简介

Client management module for Cookyii CMF

README 文档

README

Installation

composer require cookyii/module-client:dev-master

Configuration

1. Update config

In backend app config in section modules add cookyii\modules\Client\backend\Module and in section bootstrap add client:

// ./backend-app/config/app.php

return [
    // ...
    'bootstrap' => [
        // some components ...
        'client'
    ],
    'modules' => [
        // some modules ...
        'client' => 'cookyii\modules\Client\backend\Module',
    ],
    // ...
];

2. Add new permissions

In rbac/update command add "merge" class cookyii\modules\Client\backend\Permissions:

// ./common/commands/RbacCommand.php

class RbacCommand extends \rmrevin\yii\rbac\Command
{
    
    public $backendMerge = [
        // ...
        'cookyii\modules\Client\backend\Permissions',
    ];
    
    // ...
}

4. Update permissions

./backend rbac/update

5. Execute new migrations

./frontend migrate

统计信息

  • 总下载量: 269
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2015-07-17