onestartup / crm
带有跟踪日志的记录管理
0.2.2
2018-10-26 22:08 UTC
README
onestartup/crm 是一个模块,用于处理通过我们项目表单传入的信息
安装
- 在终端运行以下命令
composer require onestartup/crm
- 在 config/app.php 的 providers 数组中添加 ServiceProvider 后运行
Onestartup\Crm\CrmListServiceProvider::class,
- 运行迁移
php artisan migrate
- 将以下行添加到 app/User.php
public function tracings()
{
return $this->hasMany('Onestartup\Crm\Tracing', 'user_id');
}
- 将以下行添加到 app/Interested.php
public function tracings()
{
return $this->hasMany('Onestartup\Crm\Tracing', 'interested_id');
}
对于 0.0.7 版本,在基础项目中安装插件按钮 datatable
https://yajrabox.com/docs/laravel-datatables/master/buttons-installation运行 serv
php artisan serve- 在此路由测试管理员用户
https://:8000/admin/crm