定制 sintret/yii2-todolist 二次开发

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

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

sintret/yii2-todolist

最新稳定版本:v1.0.0

Composer 安装命令:

composer require sintret/yii2-todolist

包简介

Yii2 extension for To Do list plugin using adminlte template

README 文档

README

yii2 to do list using adminlte template

you can preview in http://sintret.com/adiadrian with username : kasir password : jakarta

create table todolist like these following :

CREATE TABLE `todolist` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `userId` int(11) DEFAULT NULL,
  `title` varchar(255) DEFAULT NULL,
  `status` tinyint(1) DEFAULT '0',
  `params` text,
  `createDate` datetime DEFAULT NULL,
  `updateDate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB;

in your view , you have to set url and relations for User like this following code :

 \yii\helpers\Url::to(['/ajax/todolist'])
        ]);
        ?>

in controllers :

public function actionTodolist() {
        if(isset($_POST)){
            $model = new \sintret\todolist\models();
            $model->post = $_POST;
            echo $model->send();
        }
        
    }

统计信息

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

GitHub 信息

  • Stars: 8
  • Watchers: 1
  • Forks: 4
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-01-17