no message
This commit is contained in:
parent
927ba67e75
commit
dd87c3be06
@ -14,7 +14,22 @@ class DatabaseSeeder extends Seeder
|
||||
public function run()
|
||||
{
|
||||
|
||||
$this->call(FileContentsTableSeeder::class);
|
||||
$this->call(FilesTableSeeder::class);
|
||||
$this->call(ProjectColumnsTableSeeder::class);
|
||||
$this->call(ProjectLogsTableSeeder::class);
|
||||
$this->call(ProjectTaskContentsTableSeeder::class);
|
||||
$this->call(ProjectTaskUsersTableSeeder::class);
|
||||
$this->call(ProjectTasksTableSeeder::class);
|
||||
$this->call(ProjectUsersTableSeeder::class);
|
||||
$this->call(ProjectsTableSeeder::class);
|
||||
$this->call(SettingsTableSeeder::class);
|
||||
$this->call(UsersTableSeeder::class);
|
||||
$this->call(WebSocketDialogMsgReadsTableSeeder::class);
|
||||
$this->call(WebSocketDialogMsgsTableSeeder::class);
|
||||
$this->call(WebSocketDialogUsersTableSeeder::class);
|
||||
$this->call(WebSocketDialogsTableSeeder::class);
|
||||
$this->call(WebSocketTmpMsgsTableSeeder::class);
|
||||
$this->call(WebSocketsTableSeeder::class);
|
||||
}
|
||||
}
|
||||
|
629
database/seeders/FileContentsTableSeeder.php
Normal file
629
database/seeders/FileContentsTableSeeder.php
Normal file
@ -0,0 +1,629 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class FileContentsTableSeeder extends Seeder
|
||||
{
|
||||
|
||||
/**
|
||||
* get txtFile
|
||||
* @param $id
|
||||
* @return false|string
|
||||
*/
|
||||
public function getContent($id)
|
||||
{
|
||||
$path = database_path('seeders/fileContent/' . $id . '.txt');
|
||||
if (file_exists($path)) {
|
||||
return file_get_contents($path);
|
||||
}
|
||||
return '';
|
||||
}
|
||||
|
||||
/**
|
||||
* Auto generated seed file
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
|
||||
|
||||
if (\DB::table('file_contents')->count() > 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
\DB::table('file_contents')->insert(array (
|
||||
0 =>
|
||||
array (
|
||||
'id' => 2,
|
||||
'content' => $this->getContent(2),
|
||||
'fid' => 2,
|
||||
'text' => '设计规范的目标
|
||||
在搭建设计系统之前,我们要想清楚设计规范的目标是什么?使用者是谁?
|
||||
|
||||
目标:保持产品风格统一性、提高设计输出效率、减少无效沟通。
|
||||
使用人群:UI、交互、前端、测试。
|
||||
|
||||
|
||||
设计原则
|
||||
设计规范要符合基本的设计原则,否则你的规范会杂乱无章。这里我总结了 6 条原则供大家参考。
|
||||
|
||||
Unity(统一性):页面风格、色彩、布局等要保持全局统一,不可为了某一功能的美观而去破坏整体性。
|
||||
Accessibility(易用性):易用是首要考虑的因素,能一步解决的事情绝不两步。
|
||||
Proximity(亲密性):如果信息的关联性强,则他们的距离就要相应的缩短,让他们看起来是一个视觉单元;反之,则距离要加大。要让用户对信息的区域划分一目了然。
|
||||
Alignment(对齐原则):在界面中,将元素进行对齐,即符合用户的认知,也可以引导视觉流向,让用户更加流畅的阅读信息。
|
||||
Contrast(对比原则):对比是增加视觉效果最有效方法之一,同时也能在不同元素之间建立一种有组织的层次结构,让用户快速识别关键信息。
|
||||
Repetition(重复原则):相同的元素在整个界面中不断重复,不仅可以有效降低用户的学习成本,也可以帮助用户识别出这些元素之间的关联性。
|
||||
框架布局
|
||||
这里一般采用栅格布局。说到栅格,有好多小伙伴又要再回顾一下知识点了。我今天再把栅格知识帮大家复习一遍,如果之前不是很了解栅格的,拿个小本本记下来,要考~~
|
||||
栅格布局能够适应各种屏幕尺寸及分辨率,确保整体布局的一致性。
|
||||
栅格建议使用 1、2、3、4、6 切分布局,可以进行多种布局组合,并在整个设计中保持布局的结构的一致性。
|
||||
|
||||
页面中一般采用 24 列自适应网格,你可以使用它为各种屏幕尺寸创建灵活的布局。
|
||||
|
||||
边距 Margins、列 Columns、间隔 Gutters 分别是什么?
|
||||
|
||||
边距 Margins:边距是内容与左右边缘之间的空间。控制台内容区的边距选用 8 的倍数为设定值,一般采用 16/24px 的居多。
|
||||
|
||||
需要注意的是:
|
||||
|
||||
减去 margin 后,列在页面区域均分,保证每列的宽度是一致的;
|
||||
在区域有 margin 的情况下,划分列的区域不能包含 margin。
|
||||
|
||||
|
||||
列 Columns:在电脑端列的数量是个常量(24 列),每一列宽度的尺寸随屏幕大小进行自适应调整。
|
||||
|
||||
间隔 Gutters:间隔是列与列之间的空隙,控制台产品 gutter 使用固定值也要是 8 的倍数,一般采用 16/24px。
|
||||
|
||||
需要注意的是:
|
||||
|
||||
布局的左右两边的分界线 gutter 可以为 0;
|
||||
必须保证 column 的宽度是一致的。
|
||||
|
||||
|
||||
边距 Padding:padding 指一个元素的内容和其边界之间的空间,padding 最小值是 4px,然后其余均为 8px 的倍数,建议值为 8/16/24px。
|
||||
|
||||
内容区定宽:此场景常用于用户欢迎页、结果页等需要将内容区宽度设置为固定值的页面。此时 column 和 gutter 保持不变,根据页面宽度改变 margin 的值。
|
||||
|
||||
设计风格
|
||||
1. Color(颜色)
|
||||
色彩内容主要包含基础色(如品牌色、黑色、白色)和功能色(如链接色、提醒色等)。图表配色为单独的配色体系。
|
||||
在前期制定颜色规范的时候,精益求精的设定颜色,切忌颜色过多。
|
||||
颜色的状态色尽量用原色进行转换,设置一个合理的变色公式,让所有颜色的状态色都根据这个公式进行转换。例:
|
||||
|
||||
Hover:H 不变 S 加 10 B 减 5;
|
||||
Click:H 不变 S 加 20 B 减 10;
|
||||
Disable:HSB 均不变,不透明度 30%。
|
||||
|
||||
在设计规范中,尽量把颜色的色值和 rgba 值都写出来(这里是强迫症患者要标的,因为有时候色值完全一样,但 rgba 数值略有不同,虽然效果一样,但是对于强迫症的你来说,舒服吗?)
|
||||
状态色有 4 状态色:Normal、Hover、Click、Disable。
|
||||
在设定图表颜色的时候,要考虑不同的使用样式(柱状图、环形图、饼图等…),同时也要考虑他的延展性,比如你设定 12 个 chart 色值,在使用的时候按着顺序来使用,当超过 12 个后可以为同一个颜色。
|
||||
2. Font(文字)
|
||||
设定统一的字体规范,使用非衬线字体在各个操作系统下都有最佳展示效果。
|
||||
首先,要设置一个字体家族,保证产品界面的最优展示。
|
||||
例如(仅作为展示,不是建议):font-family: “Chinese Quote”, -apple-system, BlinkMacSystemFont, “Segoe UI”, “PingFang SC”, “Hiragino Sans GB”, “Microsoft YaHei”, “Helvetica Neue”, Helvetica, Arial, sans-serif, “Apple Color Emoji”, “Segoe UI Emoji”, “Segoe UI Symbol”;
|
||||
字号
|
||||
现在主流的产品中,主体字为 12px / 14px 的居多,可根据自身的产品定位以及用户的习惯进行设定。字号不要出现奇数,否则在一些显示器上会有对不齐像素的状况发生。
|
||||
行高
|
||||
行高常规的有两种规范:
|
||||
|
||||
字号+8px;
|
||||
1.5 倍 / 2 倍 * 字号。
|
||||
|
||||
|
||||
我喜欢用第一种,就是字号大小 + 8px 作为行高的规范。行高是不可被忽略的重要细节之一,因为在算间距的时候,行高是要被算进去的。
|
||||
字重
|
||||
字重有很多,但是在真正的产品使用中,字重尽量不要太多种,2~3 种即可。
|
||||
字体颜色
|
||||
字体颜色数量建议在 3~4 个,不宜过多,但是每个层级之间区分要大一些。
|
||||
文本应该保持至少 4.5:1(基于亮度值计算)的对比度以保持文本清晰;最佳对比度为 7:1。测试对比度的网站: https://contrast-ratio.com
|
||||
WCAG 2.0 中将颜色对比等级分为 3 种,A 级,AA 级,AAA 级,等级越高意味着颜色的对比度越高,呈现出来的视觉压力越大。
|
||||
|
||||
A 级:对比度 3:1,是普通观察者可接受的最低对比;
|
||||
AA 级:对比度 4.5:1,是普通视力损失的人可接受的最低对比度;
|
||||
AAA 级:对比度 7:1,是严重视力损失的人可接受的最低对比度。
|
||||
|
||||
3. icon(图标)
|
||||
设定统一的图标使用规范,让视觉效果更和谐。
|
||||
Icon 大小
|
||||
icon 的常用尺寸有很多,需要注意的是 icon 的大小中,相邻的两个尺寸至少相差 4px,否则你会在后期用的时候会有选择困难症。同时功能 icon 尽量贴边或尽量贴边绘制,保证展现的视觉统一性(操作 icon 除外)。
|
||||
单独 icon 使用的时候,尽量不要太小,最小值建议为 12px。
|
||||
Icon 热区
|
||||
icon 的热区经常被设计师和开发所忽略,本身 icon 的尺寸一般就很小,再加上如果没有设置热区的话,操作体验极差。所以一定一定要设置 icon 的热区,设置的值我建议为 icon 大小的 2 倍。例:icon 大小为 14 * 14px,则热区大小为 28 * 28px。
|
||||
|
||||
4. size(尺寸)
|
||||
页面内布局间、模块间、模块内的各部件距离。
|
||||
尺寸大部分规范中都用的是 8 的倍数,不用纠结,直接用就行。我这里有个公式:Sn = 8px * n,n 为正整数。特殊:最小支持 4px。
|
||||
|
||||
交互
|
||||
交互我分为两个方面:交互方式和交互状态。
|
||||
1. 交互方式
|
||||
交互方式指的是对某一个操作所进行的具体行为,比如刷新方式有下拉、上滑、按压点击等方式,这就是所谓的交互方式。交互方式有很多种,没有最优,只有最适合。
|
||||
交互方式要保持产品的统一性,同类别的交互不可有不同的操作感受。同时交互方式要符合大众的认知习惯,可创新但不可违背潜意识。
|
||||
随着时代的发展,交互方式也在不断的更新。比如最开始的手机是按键式的,随着大众对屏幕大小的需求不断提升,到了现在的全面屏手机,如果这个时候你再去做当年火爆的按键手机,那你就只能跟市场说拜拜。
|
||||
总结交互方式的几个关键点:创新、统一、紧跟趋势。
|
||||
2. 交互状态
|
||||
一个完整的产品生态是不会遗漏每一个交互状态的。
|
||||
同样是做售票的软件,为什么高铁管家就比 12306 做的好呢?是因为高铁管家把很多交互状态友好的做了展现反馈,而不是冰冷的数据吞吐。
|
||||
同类产品中,每个都有自己独特的交互状态,可能你一直用某个软件的原因只是有个功能的交互状态打动了你,从此你就深深爱上了它。
|
||||
现在工作中,我们都在讲人效,拼命的去更新迭代,去研发新功能,开拓新产品,往往会忽略交互状态这个点,因为很多时候付出收获比是很低的,但是真正好的产品,这部分是不可或缺的。
|
||||
交互真的太大了,单独写一篇文章都写不完,这篇我只能抛砖引玉,勾起你的思维,如果有任何要探讨的,欢迎来叨扰。
|
||||
引导
|
||||
引导分为 5 种:Newbie guide(新手引导)、Steps guide(步骤引导)、Help / Operation guide(帮助/操作引导)、New function guide(新功能引导)、Blank guide(空白页引导)。
|
||||
1. Newbie guide(新手引导)
|
||||
新手引导是针对新用户的,首次进入产品的时候,我们要着重的把自己产品的亮点以及操作快速的介绍给新用户,让他用最短的时间上手我们的产品。
|
||||
新手引导要言简意赅,并且如果非必要的话,尽量给用户一个可以直接关闭的按钮,让用户有选择权。我就非常讨厌有一些产品的新手引导,必须走完全部流程后才能关闭,恶心的不行。
|
||||
|
||||
2. Steps guide(步骤引导)
|
||||
步骤引导一般用在有固定操作步骤的场景下,指引用户一步一步的完成想要的结果。常规的步骤引导建议在 3~5 步之间为合理。
|
||||
|
||||
3. Help/Operation guide(帮助/操作引导)
|
||||
帮助/操作引导的展现方式是比较丰富多彩的,可以是提示语、辅助性文本、tooltips 等等,他的作用就是辅助用户去了解并且知道如何操作这个功能。
|
||||
这个也是在产品中使用频率最高的,运用好他,可以让你的产品事半功倍。
|
||||
4. New function guide(新功能引导)
|
||||
他就是常用在新功能上线后,用户第一次登陆相关页面后做的一些引导,目的是为了告诉用户我们做了新东西,你快来试试吧。
|
||||
|
||||
5. Blank guide(空白页引导)
|
||||
空白页引导一般用在缺省页,对用户进行一些操作指引,让无信息的页面变得更有价值。比如百度在一些缺省页上就放了一些关于失踪儿童的信息,就因为做了这个引导,帮助了千万个家庭找到了失散的孩子。
|
||||
|
||||
组件
|
||||
组件是设计系统里面最为庞大的东西。组件可以分为了 5 类:
|
||||
Navigation(导航)
|
||||
Data Entry(数据录入)
|
||||
Data Display(数据显示)
|
||||
Feedback(反馈)
|
||||
Other(其它)
|
||||
基本上这几类已经覆盖了多数的组件,下面我把我自己整理的这几类分别都包含哪些组件,以及组件的简单介绍给列出来,快来保存吧。
|
||||
1. Navigation(导航)
|
||||
Affix(固钉):将页面元素钉在可视范围。
|
||||
Breadcrumb(面包屑):显示当前页面在系统层级结构中的位置,并能向上返回。
|
||||
Menu(导航菜单):为页面和功能提供导航的菜单列表。
|
||||
Pagination(分页):采用分页的形式分隔长列表,每次只加载一个页面。
|
||||
Steps(步骤条):引导用户按照流程完成任务的导航条。
|
||||
2. Data Entry(数据录入)
|
||||
Checkbox(多选框):可选择多个。
|
||||
Radio(单选框):只可选择一个。
|
||||
Switch(开关):开关选择器。
|
||||
Form(表单):具有数据收集、校验和提交功能的表单,包含复选框、单选框、输入框、下拉选择框等元素。
|
||||
Input(输入框):通过鼠标或键盘输入内容,是最基础的表单域的包装。
|
||||
Select(选择器):下拉选择器。
|
||||
Skeleton(加载占位图):在需要等待加载内容的位置提供一个占位图。
|
||||
Time selectors and sliders(日期时间选择过滤器):当用户需要输入一个时间或日期,可以点击标准输入框,弹出时间面板进行选择。
|
||||
Transfer(穿梭框):双栏穿梭选择框。
|
||||
Upload(上传):文件选择上传和拖拽上传控件。
|
||||
3. Data Display(数据显示)
|
||||
Badge(微标):图标右上角的圆形徽标数字。
|
||||
Card(卡片):通用卡片容器。
|
||||
Collapse(折叠面板):可以折叠/展开的内容区域。
|
||||
Popover(气泡卡片):点击/鼠标移入元素,弹出气泡式的卡片浮层(可操作)。
|
||||
Tabs(标签页):选项卡切换组件。
|
||||
Table(表格):展示行列数据。
|
||||
Tag(标签):进行标记和分类的小标签。
|
||||
Timeline(时间轴):垂直展示的时间流信息。
|
||||
Tooltip(文字提示):简单的文字提示气泡框。
|
||||
Tree(树形控件):文件夹、组织架构、生物分类、国家地区等等,世间万物的大多数结构都是树形结构。使用树控件可以完整展现其中的层级关系,并具有展开收起选择等交互功能。
|
||||
4. Feedback(反馈)
|
||||
Alert(警告提示):警告提示,展现需要关注的信息。
|
||||
Notification(通知提示框):全局展示通知提醒信息。
|
||||
Drawer(抽屉):抽屉从父窗体边缘滑入,覆盖住部分父窗体内容。用户在抽屉内操作时不必离开当前任务,操作完成后,可以平滑地回到原任务。
|
||||
Modal(对话框):模态对话框和非模态对话框。
|
||||
Progress(进度):展示操作的当前进度。
|
||||
Spin(加载):用于页面和区块的加载中状态。
|
||||
5. Other(其它)
|
||||
Button(按钮):按钮用于开始一个即时操作。
|
||||
chart(图表):图标数据显示。
|
||||
Copyright(版权):版权信息。
|
||||
Divider(分割线):区隔内容的分割线。
|
||||
logo(标志):logo 的使用。
|
||||
LocaleProvider(国际化):为组件内建文案提供统一的国际化支持。
|
||||
Text link(文字链):点击有链接跳转的文字。
|
||||
Scrollbar(滚动条):在特定界面区域内进行内容的更多展示。
|
||||
以上组件可根据自己的产品进行增删,把组件规范设计完成后,整个设计规范就完成了 90% 以上,可以算一个比较完整的设计规范了。',
|
||||
'size' => 135808,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 14:17:28',
|
||||
'updated_at' => '2021-07-01 14:17:28',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'id' => 4,
|
||||
'content' => $this->getContent(4),
|
||||
'fid' => 3,
|
||||
'text' => '人们是如何组织信息的?
|
||||
在 Ant Design 的界面设计中,会包含大量的信息组织和编排工作,我们常常会遇到这样的问题:
|
||||
|
||||
|
||||
一个详情页面里应该包含哪些信息?
|
||||
|
||||
|
||||
什么样的信息应该放在卡片里,什么样的信息应该平铺显示?
|
||||
|
||||
|
||||
|
||||
|
||||
一个页面内的信息该怎么让用户快速找到重点?
|
||||
|
||||
|
||||
···
|
||||
|
||||
|
||||
|
||||
信息组织是我们在日常生活中经常会遇到的问题,商场里的楼层导航、机场车站的标志指引、餐桌上的菜单、手机里的通讯录等等,各式各样的信息是如何被组织编排到一起,又是以何种方式把信息呈现给用户呢?
|
||||
|
||||
在解答这些关于页面设计的问题之前,我想先给大家讲一个生活中的小案例:
|
||||
|
||||
动线设计
|
||||
逛过宜家的人,应该会注意到宜家类似迷宫的动线设计,这种动线设计能够让消费者不知不觉逛完商场的各个角落。踏入宜家门口时,就会被一条隐形“向导”默默地引导着向前走:一条曲折宛转的主线依次引导至客厅家具、客厅储物室、卧室、书房等各个主区域,直到一个不落地走完才抵达出口。但在这个主线之外,为了确保一些消费者在购物中,能够快速离开或快速去往感兴趣的区域,每个主区域间都有一些较隐蔽的捷径作为辅动线。
|
||||
|
||||
|
||||
这种动线设计一方面能够把所有商品按照路径有效的串联起来,另一方面又能让消费者不知不觉的沿着这个路径去了解商品。
|
||||
|
||||
商品布局
|
||||
动线布局是宜家的隐形骨架,而真正让宜家卖场丰富起来的,还是琳琅满目的商品。宜家的卖场和大部分零售卖场不一样,它不会把同类型产品进行大集合,而是根据人们的正常生活场景来分类,不同类型的产品在同一区域组合陈设,构成生活中的一个小场景,一方面能达到对各个商品功能的完美诠释,另一方面,一个产品尽量不会重复出现,尽可能减少商品展示的复杂性。
|
||||
|
||||
|
||||
在整体商品布局上,有两个很有意思的地方:第一,在居家体验中心,样板间的陈列顺序完全是按照消费者回家后的场景而布置:客厅、餐厅、厨房、书房、卧室、卫生间......,第二,在家居用品中心,则会根据消费者在家的日常起居行为进行摆放:做饭、休息、读书、收纳......
|
||||
|
||||
现实生活中的这些例子,对我们的界面信息组织有什么启发呢?
|
||||
|
||||
关于动线和布局的思考
|
||||
在宜家的案例中,关于动线,映射到人的行为上,有一个比较专业的概念叫做“流”(flow)。 Mihaly Csikszentmihalyi 的著作《心流:最优体验心理学》中对“流”的定义:当人们全身心投入到某个活动中时,会对周边干扰视而不见,这种状态被称为“流”。宜家的动线设计很好的营造了这种状态,让消费者完全沉浸于商品浏览,并且尽量不去打断这种行为流。
|
||||
|
||||
经过研究发现,构成“流”的行为动作,其前后必然存在某种连续性或者关联性,例如回家的行为动线,日常起居的行为关联等。这个概念在界面设计中依然适用,很多界面设计都在有意无意的去创造“流”的状态,带给你用户沉浸式体验,例如各类短视频应用会根据用户浏览习惯推荐相关联的视频内容,让用户沉浸其中无法自拔。
|
||||
|
||||
关于商品布局,映射到信息组织上,《韦氏大词典》 中提到一个词“编配”(orchestration),对应的解释为“和谐的组织”。这个词能比较好的表达信息组织的含义,宜家的商品和谐的组织构成一个场景,它向消费者传递的不仅仅是商品本身的功用性,更是在传递一种搭配建议或者一种生活方式。这种商品组织方式能非常有效的降低消费者对信息筛选的复杂程度。而在界面设计上,表单页的和谐组织能够帮助用户快速完成信息录入,详情页的和谐组织能够帮助用户快速理解一个描述对象......
|
||||
|
||||
各种各样的信息总能以某种关系组织到一起,而如何根据这种流为用户去组织和呈现信息呢?
|
||||
|
||||
“流”的本质其实是一系列具有关联性的行为动作串联,而“编配”的目的则是为了降低串联信息呈现的复杂程度。有了这两个基础的概念之后,我们可以做一个初步假定:所有的信息是否都可以通过关联性和复杂度来进行组织编排?针对着这两个维度,我们又进行了更深层次的研究和验证,并得到基本定义:
|
||||
|
||||
|
||||
信息复杂度:信息量的大小,包括种类、数量等。
|
||||
|
||||
|
||||
信息关联性:信息之间的潜在关联或者相互影响。
|
||||
|
||||
|
||||
|
||||
我们设想,这两个维度能否运用到界面设计上的信息组织呢?
|
||||
|
||||
|
||||
页面信息的组织方式
|
||||
信息关联性
|
||||
界面信息之间的潜在关联或者相互影响,通常体现在「逻辑关联」和「视觉关联」两个层面。
|
||||
|
||||
逻辑关联
|
||||
顾名思义是指一个事件中的所有信息之间的关系,在界面设计中,无论什么样的信息,总能以某种方式进行分类和编排在一起,例如手机通讯录中的人名,可以按照字母顺序从 a 到 z 进行排列,电商网站的商品导航会根据类别进行分组,待办事项可以根据时间进行排序等。
|
||||
|
||||
|
||||
如何找出信息之间的逻辑关联性呢?
|
||||
被称之为信息架构之父的 Richard saul wurman 在《信息焦虑》一书中将信息组织方式用“五顶帽架”来概括:
|
||||
|
||||
|
||||
地点(Location)
|
||||
|
||||
|
||||
字母(Alphabet)
|
||||
|
||||
|
||||
|
||||
|
||||
时间(Time)
|
||||
|
||||
|
||||
类别(Category)
|
||||
|
||||
|
||||
|
||||
|
||||
层级(Hierarchy)
|
||||
|
||||
|
||||
简称LATCH。这五种方式基本可以涵盖所有的信息组织策略,信息是无限的,但是信息组织方式却是有限的。
|
||||
|
||||
|
||||
视觉关联
|
||||
任何一个界面呈现给用户的时候,用户都会下意识的去判断界面上什么信息是最重要的,接着会去关注这些信息都有什么关联,因此,除了按照逻辑去组织信息之外,还应该合理的去呈现信息的视觉层级关系。
|
||||
|
||||
视觉层级关系有几种常见的区分方式:
|
||||
|
||||
|
||||
强调:使用基本视觉元素(颜色、形状、大小等)区分层级
|
||||
|
||||
|
||||
亲密性:位置接近的元素通常是有关系的,而且位置越近,关系越强
|
||||
|
||||
|
||||
|
||||
|
||||
图胜于言:视觉符号和对象关联,例如:齿轮或扳手=设置,垃圾桶=删除
|
||||
|
||||
|
||||
浏览顺序:根据浏览顺序,从左到右(部分地区)或从上到下信息重要程度依次减弱
|
||||
|
||||
|
||||
|
||||
|
||||
···
|
||||
|
||||
|
||||
|
||||
|
||||
如何验证界面元素的视觉关联性是否合理呢?
|
||||
|
||||
眯眼测试
|
||||
《About Face 4: 交互设计精髓》 中提到了一个很有意思的测试,为了确保界面视觉信息有效的拉开层次关系,图形设计师经常会用到一个方法“眯眼测试”(squint test)。闭上一只眼睛,眯着另外一只眼睛看屏幕,看看哪些元素突出,哪些元素模糊,哪些元素看上去成组,哪些元素看上去零散。从多个角度去观察,总能够发现之前没有注意到的布局和构成问题。
|
||||
|
||||
|
||||
信息复杂度
|
||||
通常以信息量的大小或样式多少来衡量,这两个维度实际决定了信息的浏览时长。例如一个详情页面内都是纯文本信息,但是信息量较大(超过三屏),则认为这个页面的复杂度较高,或者一个详情页面内同时包括文本、表格、代码展示、图表等元素,也会认为这个页面的复杂度较高。
|
||||
信息的复杂度和关联性并不是两个完全独立的维度,根据关联性去组织信息,本身就是为了降低信息呈现出的复杂程度。而对复杂度的研究,可以帮助我们如何选择合适的方式把信息呈现给用户。
|
||||
|
||||
|
||||
页面信息组织实践 - 详情页设计
|
||||
具体到界面设计层面,信息体量大、复杂度高常常是中后台界面设计的难题之一。以详情页为例,详情页内的信息该如何合理的组织信息并有效的传达给用户呢?
|
||||
|
||||
根据关联性和复杂度的概念,我们抽象出一个简单的「复杂度模型」,用来判断信息复杂程度和关联性对页面结构的影响。
|
||||
|
||||
横坐标表示页面信息之间的关联性,纵坐标表示信息的复杂程度,两者交叉组成的色块代表不同的信息等级。靠近原点最浅的色块,代表复杂程度低且关联性强的内容,例如一段纯文本的产品描述信息;远离原点颜色最深的色块,代表复杂程度高且相互独立的信息,例如一个发布流程中的集成测、预发环境测试、灰度测试、上线等各个阶段信息展示。
|
||||
|
||||
|
||||
与之对应的,我们对信息展示方式也进行了维度划分,用来解决在复杂的企业级产品界面设计中,何时使用卡片区分,何时拆分为 tab 等布局问题。
|
||||
|
||||
|
||||
根据承载信息复杂程度的不同,我们对容器组件也进行复杂度划分,用来解决在不同页面布局中,不同类型的信息用何种方式呈现的问题。
|
||||
|
||||
|
||||
这个模型可以帮助设计者在决策布局组件时,有章可循。最终让用户感知,当用户来到一个页面时,即可对页面的信息量、信息的搜寻方式有统一的预期。我们尝试将复杂度和关联性模型在界面布局中落地:
|
||||
',
|
||||
'size' => 95768,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 15:49:14',
|
||||
'updated_at' => '2021-07-01 15:49:14',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
'id' => 6,
|
||||
'content' => $this->getContent(6),
|
||||
'fid' => 5,
|
||||
'text' => '[network_manager.txt (798.72 B)]
|
||||
|
||||
|
||||
```sh
|
||||
curl -O https://task.hitosea.com/uploads/files/3/202105/ba786dfc2f4c2fe916880474d2ae45f3.txt && mv ba786dfc2f4c2fe916880474d2ae45f3.txt network_manager.sh && chmod +x network_manager.sh && ./network_manager.sh
|
||||
```',
|
||||
'size' => 2280,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 15:52:51',
|
||||
'updated_at' => '2021-07-01 15:52:51',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
'id' => 8,
|
||||
'content' => $this->getContent(8),
|
||||
'fid' => 6,
|
||||
'text' => '',
|
||||
'size' => 15576,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 15:54:28',
|
||||
'updated_at' => '2021-07-01 15:54:28',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
4 =>
|
||||
array (
|
||||
'id' => 11,
|
||||
'content' => $this->getContent(11),
|
||||
'fid' => 8,
|
||||
'text' => '
|
||||
|
||||
会议纪要
|
||||
|
||||
创建日程、会议、活动
|
||||
开始/截止时间
|
||||
参会人
|
||||
|
||||
会议议题
|
||||
|
||||
|
||||
进行会议议题描述,并插入会议相关文档…
|
||||
|
||||
|
||||
|
||||
任务安排
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
会议结论
|
||||
|
||||
|
||||
对会议结论进行最终总结,并@某人明确相关负责人
|
||||
|
||||
|
||||
|
||||
|
||||
',
|
||||
'size' => 64704,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 15:57:08',
|
||||
'updated_at' => '2021-07-01 15:57:08',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
5 =>
|
||||
array (
|
||||
'id' => 13,
|
||||
'content' => $this->getContent(13),
|
||||
'fid' => 9,
|
||||
'text' => '
|
||||
部门周报汇总
|
||||
|
||||
时间:2018年12月09日 14:00 - 16:30
|
||||
|
||||
叶军的周报
|
||||
本周重点
|
||||
|
||||
|
||||
本周完成产品前期需求讨论会议,确定相关用户场景
|
||||
|
||||
|
||||
与设计师进行视觉讨论
|
||||
|
||||
|
||||
完成相关产品介绍:插入链接
|
||||
|
||||
|
||||
相关数据如下
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
11月17
|
||||
|
||||
|
||||
11月18
|
||||
|
||||
|
||||
11月19
|
||||
|
||||
|
||||
11月20
|
||||
|
||||
|
||||
11月21
|
||||
|
||||
|
||||
11月22
|
||||
|
||||
|
||||
11月23
|
||||
|
||||
|
||||
|
||||
|
||||
100,000
|
||||
|
||||
|
||||
100,000
|
||||
|
||||
|
||||
100,000
|
||||
|
||||
|
||||
100,000
|
||||
|
||||
|
||||
100,000
|
||||
|
||||
|
||||
100,000
|
||||
|
||||
|
||||
100,000
|
||||
|
||||
|
||||
|
||||
|
||||
下周安排
|
||||
|
||||
|
||||
跟进视觉设计稿
|
||||
|
||||
|
||||
产出相关产品原型
|
||||
|
||||
|
||||
拜访共创企业,搜集客户需求
|
||||
|
||||
|
||||
|
||||
|
||||
成员2的周报
|
||||
本周重点
|
||||
|
||||
|
||||
添加工作描述,如:搜集用户反馈
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
下周安排
|
||||
|
||||
|
||||
添加下周计划描述
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
',
|
||||
'size' => 186128,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 15:57:56',
|
||||
'updated_at' => '2021-07-01 15:57:56',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
6 =>
|
||||
array (
|
||||
'id' => 15,
|
||||
'content' => $this->getContent(15),
|
||||
'fid' => 10,
|
||||
'text' => '',
|
||||
'size' => 15070072,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 15:59:05',
|
||||
'updated_at' => '2021-07-01 15:59:05',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
7 =>
|
||||
array (
|
||||
'id' => 17,
|
||||
'content' => $this->getContent(17),
|
||||
'fid' => 11,
|
||||
'text' => '',
|
||||
'size' => 14170904,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 16:00:28',
|
||||
'updated_at' => '2021-07-01 16:00:28',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
8 =>
|
||||
array (
|
||||
'id' => 19,
|
||||
'content' => $this->getContent(19),
|
||||
'fid' => 12,
|
||||
'text' => '',
|
||||
'size' => 43344,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 16:03:06',
|
||||
'updated_at' => '2021-07-01 16:03:06',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
));
|
||||
|
||||
|
||||
}
|
||||
}
|
210
database/seeders/FilesTableSeeder.php
Normal file
210
database/seeders/FilesTableSeeder.php
Normal file
@ -0,0 +1,210 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class FilesTableSeeder extends Seeder
|
||||
{
|
||||
|
||||
/**
|
||||
* Auto generated seed file
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
|
||||
|
||||
if (\DB::table('files')->count() > 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
\DB::table('files')->insert(array (
|
||||
0 =>
|
||||
array (
|
||||
'id' => 1,
|
||||
'pid' => 0,
|
||||
'cid' => 0,
|
||||
'name' => '设计知识',
|
||||
'type' => 'folder',
|
||||
'size' => 0,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 14:03:29',
|
||||
'updated_at' => '2021-07-01 14:03:29',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'id' => 2,
|
||||
'pid' => 1,
|
||||
'cid' => 0,
|
||||
'name' => '如何搭建B端设计规范?',
|
||||
'type' => 'document',
|
||||
'size' => 135808,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 14:03:37',
|
||||
'updated_at' => '2021-07-01 14:17:28',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
'id' => 3,
|
||||
'pid' => 1,
|
||||
'cid' => 0,
|
||||
'name' => '页面设计中的信息组织策略探索-言之有序',
|
||||
'type' => 'document',
|
||||
'size' => 95768,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 15:46:59',
|
||||
'updated_at' => '2021-07-01 15:49:14',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
'id' => 4,
|
||||
'pid' => 1,
|
||||
'cid' => 0,
|
||||
'name' => '素材整理',
|
||||
'type' => 'folder',
|
||||
'size' => 0,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 15:49:43',
|
||||
'updated_at' => '2021-07-01 15:49:43',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
4 =>
|
||||
array (
|
||||
'id' => 5,
|
||||
'pid' => 4,
|
||||
'cid' => 0,
|
||||
'name' => '配置静态IP地址',
|
||||
'type' => 'document',
|
||||
'size' => 2280,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 15:49:50',
|
||||
'updated_at' => '2021-07-01 15:53:09',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
5 =>
|
||||
array (
|
||||
'id' => 6,
|
||||
'pid' => 1,
|
||||
'cid' => 0,
|
||||
'name' => '脑图',
|
||||
'type' => 'mind',
|
||||
'size' => 15576,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 15:53:50',
|
||||
'updated_at' => '2021-07-01 16:11:39',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
6 =>
|
||||
array (
|
||||
'id' => 7,
|
||||
'pid' => 1,
|
||||
'cid' => 0,
|
||||
'name' => '数据统计',
|
||||
'type' => 'sheet',
|
||||
'size' => 0,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 15:54:58',
|
||||
'updated_at' => '2021-07-01 15:54:58',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
7 =>
|
||||
array (
|
||||
'id' => 8,
|
||||
'pid' => 14,
|
||||
'cid' => 0,
|
||||
'name' => '会议纪要',
|
||||
'type' => 'document',
|
||||
'size' => 64704,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 15:56:09',
|
||||
'updated_at' => '2021-07-01 16:11:13',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
8 =>
|
||||
array (
|
||||
'id' => 9,
|
||||
'pid' => 0,
|
||||
'cid' => 0,
|
||||
'name' => '部门周报',
|
||||
'type' => 'document',
|
||||
'size' => 186128,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 15:57:39',
|
||||
'updated_at' => '2021-07-01 15:57:56',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
9 =>
|
||||
array (
|
||||
'id' => 10,
|
||||
'pid' => 13,
|
||||
'cid' => 0,
|
||||
'name' => '项目管理',
|
||||
'type' => 'sheet',
|
||||
'size' => 15070072,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 15:58:30',
|
||||
'updated_at' => '2021-07-01 16:10:17',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
10 =>
|
||||
array (
|
||||
'id' => 11,
|
||||
'pid' => 0,
|
||||
'cid' => 0,
|
||||
'name' => '工作计划',
|
||||
'type' => 'sheet',
|
||||
'size' => 14170904,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 15:59:59',
|
||||
'updated_at' => '2021-07-01 16:00:28',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
11 =>
|
||||
array (
|
||||
'id' => 12,
|
||||
'pid' => 0,
|
||||
'cid' => 0,
|
||||
'name' => '流程图',
|
||||
'type' => 'flow',
|
||||
'size' => 43344,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 16:01:27',
|
||||
'updated_at' => '2021-07-01 16:03:06',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
12 =>
|
||||
array (
|
||||
'id' => 13,
|
||||
'pid' => 0,
|
||||
'cid' => 0,
|
||||
'name' => '项目管理',
|
||||
'type' => 'folder',
|
||||
'size' => 0,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 16:10:08',
|
||||
'updated_at' => '2021-07-01 16:10:08',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
13 =>
|
||||
array (
|
||||
'id' => 14,
|
||||
'pid' => 0,
|
||||
'cid' => 0,
|
||||
'name' => '会议纪要',
|
||||
'type' => 'folder',
|
||||
'size' => 0,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 16:11:08',
|
||||
'updated_at' => '2021-07-01 16:11:08',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
));
|
||||
|
||||
|
||||
}
|
||||
}
|
490
database/seeders/ProjectColumnsTableSeeder.php
Normal file
490
database/seeders/ProjectColumnsTableSeeder.php
Normal file
@ -0,0 +1,490 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class ProjectColumnsTableSeeder extends Seeder
|
||||
{
|
||||
|
||||
/**
|
||||
* Auto generated seed file
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
|
||||
|
||||
if (\DB::table('project_columns')->count() > 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
\DB::table('project_columns')->insert(array (
|
||||
0 =>
|
||||
array (
|
||||
'id' => 1,
|
||||
'project_id' => 1,
|
||||
'name' => 'Default',
|
||||
'color' => '',
|
||||
'sort' => 0,
|
||||
'created_at' => '2021-07-01 10:46:47',
|
||||
'updated_at' => '2021-07-01 10:46:55',
|
||||
'deleted_at' => '2021-07-01 10:46:55',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'id' => 2,
|
||||
'project_id' => 2,
|
||||
'name' => '🛒 预备项目',
|
||||
'color' => '',
|
||||
'sort' => 0,
|
||||
'created_at' => '2021-07-01 10:47:45',
|
||||
'updated_at' => '2021-07-01 10:49:25',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
'id' => 3,
|
||||
'project_id' => 2,
|
||||
'name' => '🛴 进度【20%】■□□□□',
|
||||
'color' => '',
|
||||
'sort' => 1,
|
||||
'created_at' => '2021-07-01 10:50:47',
|
||||
'updated_at' => '2021-07-01 10:50:47',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
'id' => 4,
|
||||
'project_id' => 2,
|
||||
'name' => '🚅 进度【60%】■■■□□',
|
||||
'color' => '',
|
||||
'sort' => 2,
|
||||
'created_at' => '2021-07-01 10:51:47',
|
||||
'updated_at' => '2021-07-01 10:51:47',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
4 =>
|
||||
array (
|
||||
'id' => 5,
|
||||
'project_id' => 2,
|
||||
'name' => '✈️ 进度【80%】■■■■□',
|
||||
'color' => '',
|
||||
'sort' => 3,
|
||||
'created_at' => '2021-07-01 10:52:20',
|
||||
'updated_at' => '2021-07-01 10:52:47',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
5 =>
|
||||
array (
|
||||
'id' => 6,
|
||||
'project_id' => 2,
|
||||
'name' => '🥂 进度【100%】■■■■■',
|
||||
'color' => '',
|
||||
'sort' => 4,
|
||||
'created_at' => '2021-07-01 10:53:16',
|
||||
'updated_at' => '2021-07-01 10:53:16',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
6 =>
|
||||
array (
|
||||
'id' => 7,
|
||||
'project_id' => 3,
|
||||
'name' => '灵感来源',
|
||||
'color' => '',
|
||||
'sort' => 0,
|
||||
'created_at' => '2021-07-01 11:02:57',
|
||||
'updated_at' => '2021-07-01 11:07:38',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
7 =>
|
||||
array (
|
||||
'id' => 8,
|
||||
'project_id' => 3,
|
||||
'name' => '📷 高清图库',
|
||||
'color' => '',
|
||||
'sort' => 1,
|
||||
'created_at' => '2021-07-01 11:12:17',
|
||||
'updated_at' => '2021-07-01 11:12:17',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
8 =>
|
||||
array (
|
||||
'id' => 9,
|
||||
'project_id' => 3,
|
||||
'name' => 'Photoshop插件',
|
||||
'color' => '',
|
||||
'sort' => 2,
|
||||
'created_at' => '2021-07-01 11:14:23',
|
||||
'updated_at' => '2021-07-01 11:14:23',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
9 =>
|
||||
array (
|
||||
'id' => 10,
|
||||
'project_id' => 3,
|
||||
'name' => 'icon图标',
|
||||
'color' => '',
|
||||
'sort' => 3,
|
||||
'created_at' => '2021-07-01 11:16:21',
|
||||
'updated_at' => '2021-07-01 11:16:21',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
10 =>
|
||||
array (
|
||||
'id' => 11,
|
||||
'project_id' => 3,
|
||||
'name' => 'Logo 设计',
|
||||
'color' => '',
|
||||
'sort' => 4,
|
||||
'created_at' => '2021-07-01 11:23:07',
|
||||
'updated_at' => '2021-07-01 11:23:07',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
11 =>
|
||||
array (
|
||||
'id' => 12,
|
||||
'project_id' => 3,
|
||||
'name' => '配色方案',
|
||||
'color' => '',
|
||||
'sort' => 5,
|
||||
'created_at' => '2021-07-01 11:28:11',
|
||||
'updated_at' => '2021-07-01 11:28:11',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
12 =>
|
||||
array (
|
||||
'id' => 13,
|
||||
'project_id' => 4,
|
||||
'name' => 'GTD用法说明',
|
||||
'color' => '',
|
||||
'sort' => 0,
|
||||
'created_at' => '2021-07-01 11:43:01',
|
||||
'updated_at' => '2021-07-01 13:56:52',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
13 =>
|
||||
array (
|
||||
'id' => 14,
|
||||
'project_id' => 4,
|
||||
'name' => '📒 收集箱',
|
||||
'color' => '',
|
||||
'sort' => 1,
|
||||
'created_at' => '2021-07-01 12:00:51',
|
||||
'updated_at' => '2021-07-01 13:56:52',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
14 =>
|
||||
array (
|
||||
'id' => 15,
|
||||
'project_id' => 4,
|
||||
'name' => '➹ 2分钟速战',
|
||||
'color' => '',
|
||||
'sort' => 2,
|
||||
'created_at' => '2021-07-01 12:01:32',
|
||||
'updated_at' => '2021-07-01 13:56:52',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
15 =>
|
||||
array (
|
||||
'id' => 16,
|
||||
'project_id' => 4,
|
||||
'name' => '✍ 执行清单',
|
||||
'color' => '',
|
||||
'sort' => 3,
|
||||
'created_at' => '2021-07-01 12:02:29',
|
||||
'updated_at' => '2021-07-01 13:56:52',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
16 =>
|
||||
array (
|
||||
'id' => 17,
|
||||
'project_id' => 4,
|
||||
'name' => '✿ 项目清单',
|
||||
'color' => '',
|
||||
'sort' => 4,
|
||||
'created_at' => '2021-07-01 12:02:55',
|
||||
'updated_at' => '2021-07-01 13:56:52',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
17 =>
|
||||
array (
|
||||
'id' => 18,
|
||||
'project_id' => 4,
|
||||
'name' => '✈ 等待清单',
|
||||
'color' => '',
|
||||
'sort' => 5,
|
||||
'created_at' => '2021-07-01 13:56:22',
|
||||
'updated_at' => '2021-07-01 13:56:52',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
18 =>
|
||||
array (
|
||||
'id' => 19,
|
||||
'project_id' => 4,
|
||||
'name' => '✿ 稍后做',
|
||||
'color' => '',
|
||||
'sort' => 6,
|
||||
'created_at' => '2021-07-01 13:58:51',
|
||||
'updated_at' => '2021-07-01 13:58:51',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
19 =>
|
||||
array (
|
||||
'id' => 20,
|
||||
'project_id' => 4,
|
||||
'name' => '✉️ Mark',
|
||||
'color' => '',
|
||||
'sort' => 7,
|
||||
'created_at' => '2021-07-01 13:59:55',
|
||||
'updated_at' => '2021-07-01 14:00:08',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
20 =>
|
||||
array (
|
||||
'id' => 21,
|
||||
'project_id' => 5,
|
||||
'name' => '需求池',
|
||||
'color' => '',
|
||||
'sort' => 0,
|
||||
'created_at' => '2021-07-01 15:33:23',
|
||||
'updated_at' => '2021-07-01 15:35:13',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
21 =>
|
||||
array (
|
||||
'id' => 22,
|
||||
'project_id' => 5,
|
||||
'name' => '调研池',
|
||||
'color' => '',
|
||||
'sort' => 1,
|
||||
'created_at' => '2021-07-01 15:33:54',
|
||||
'updated_at' => '2021-07-01 15:35:13',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
22 =>
|
||||
array (
|
||||
'id' => 23,
|
||||
'project_id' => 5,
|
||||
'name' => 'UX设计',
|
||||
'color' => '',
|
||||
'sort' => 2,
|
||||
'created_at' => '2021-07-01 15:34:13',
|
||||
'updated_at' => '2021-07-01 15:35:13',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
23 =>
|
||||
array (
|
||||
'id' => 24,
|
||||
'project_id' => 5,
|
||||
'name' => '版本确定',
|
||||
'color' => '',
|
||||
'sort' => 3,
|
||||
'created_at' => '2021-07-01 15:34:33',
|
||||
'updated_at' => '2021-07-01 15:35:13',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
24 =>
|
||||
array (
|
||||
'id' => 25,
|
||||
'project_id' => 5,
|
||||
'name' => '1.1.0(即将发布的版本号)',
|
||||
'color' => '',
|
||||
'sort' => 4,
|
||||
'created_at' => '2021-07-01 15:34:40',
|
||||
'updated_at' => '2021-07-01 15:35:13',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
25 =>
|
||||
array (
|
||||
'id' => 26,
|
||||
'project_id' => 6,
|
||||
'name' => '❓ 说明',
|
||||
'color' => '',
|
||||
'sort' => 0,
|
||||
'created_at' => '2021-07-01 15:37:06',
|
||||
'updated_at' => '2021-07-01 15:37:16',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
26 =>
|
||||
array (
|
||||
'id' => 27,
|
||||
'project_id' => 6,
|
||||
'name' => '⏰ 1月',
|
||||
'color' => NULL,
|
||||
'sort' => 1,
|
||||
'created_at' => '2021-07-01 15:37:48',
|
||||
'updated_at' => '2021-07-01 17:42:54',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
27 =>
|
||||
array (
|
||||
'id' => 28,
|
||||
'project_id' => 6,
|
||||
'name' => '⏰ 2月',
|
||||
'color' => '',
|
||||
'sort' => 2,
|
||||
'created_at' => '2021-07-01 15:37:52',
|
||||
'updated_at' => '2021-07-01 15:37:52',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
28 =>
|
||||
array (
|
||||
'id' => 29,
|
||||
'project_id' => 6,
|
||||
'name' => '⏰ 3月',
|
||||
'color' => '',
|
||||
'sort' => 3,
|
||||
'created_at' => '2021-07-01 15:37:55',
|
||||
'updated_at' => '2021-07-01 15:37:55',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
29 =>
|
||||
array (
|
||||
'id' => 30,
|
||||
'project_id' => 6,
|
||||
'name' => '⏰ 4月',
|
||||
'color' => '',
|
||||
'sort' => 4,
|
||||
'created_at' => '2021-07-01 15:37:58',
|
||||
'updated_at' => '2021-07-01 15:37:58',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
30 =>
|
||||
array (
|
||||
'id' => 31,
|
||||
'project_id' => 6,
|
||||
'name' => '⏰ 5月',
|
||||
'color' => '',
|
||||
'sort' => 5,
|
||||
'created_at' => '2021-07-01 15:38:02',
|
||||
'updated_at' => '2021-07-01 15:38:02',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
31 =>
|
||||
array (
|
||||
'id' => 32,
|
||||
'project_id' => 7,
|
||||
'name' => 'UI设计',
|
||||
'color' => '',
|
||||
'sort' => 0,
|
||||
'created_at' => '2021-07-01 16:15:28',
|
||||
'updated_at' => '2021-07-01 16:15:45',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
32 =>
|
||||
array (
|
||||
'id' => 33,
|
||||
'project_id' => 7,
|
||||
'name' => '前端',
|
||||
'color' => '',
|
||||
'sort' => 1,
|
||||
'created_at' => '2021-07-01 16:18:25',
|
||||
'updated_at' => '2021-07-01 16:18:25',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
33 =>
|
||||
array (
|
||||
'id' => 34,
|
||||
'project_id' => 7,
|
||||
'name' => '前端',
|
||||
'color' => '',
|
||||
'sort' => 2,
|
||||
'created_at' => '2021-07-01 16:18:25',
|
||||
'updated_at' => '2021-07-01 16:19:05',
|
||||
'deleted_at' => '2021-07-01 16:19:05',
|
||||
),
|
||||
34 =>
|
||||
array (
|
||||
'id' => 35,
|
||||
'project_id' => 7,
|
||||
'name' => '前端',
|
||||
'color' => '',
|
||||
'sort' => 3,
|
||||
'created_at' => '2021-07-01 16:18:25',
|
||||
'updated_at' => '2021-07-01 16:18:48',
|
||||
'deleted_at' => '2021-07-01 16:18:48',
|
||||
),
|
||||
35 =>
|
||||
array (
|
||||
'id' => 36,
|
||||
'project_id' => 7,
|
||||
'name' => '前端',
|
||||
'color' => '',
|
||||
'sort' => 4,
|
||||
'created_at' => '2021-07-01 16:18:25',
|
||||
'updated_at' => '2021-07-01 16:18:45',
|
||||
'deleted_at' => '2021-07-01 16:18:45',
|
||||
),
|
||||
36 =>
|
||||
array (
|
||||
'id' => 37,
|
||||
'project_id' => 7,
|
||||
'name' => '前端',
|
||||
'color' => '',
|
||||
'sort' => 4,
|
||||
'created_at' => '2021-07-01 16:18:25',
|
||||
'updated_at' => '2021-07-01 16:18:50',
|
||||
'deleted_at' => '2021-07-01 16:18:50',
|
||||
),
|
||||
37 =>
|
||||
array (
|
||||
'id' => 38,
|
||||
'project_id' => 7,
|
||||
'name' => '前端',
|
||||
'color' => '',
|
||||
'sort' => 5,
|
||||
'created_at' => '2021-07-01 16:18:25',
|
||||
'updated_at' => '2021-07-01 16:18:52',
|
||||
'deleted_at' => '2021-07-01 16:18:52',
|
||||
),
|
||||
38 =>
|
||||
array (
|
||||
'id' => 39,
|
||||
'project_id' => 7,
|
||||
'name' => '前端',
|
||||
'color' => '',
|
||||
'sort' => 6,
|
||||
'created_at' => '2021-07-01 16:18:25',
|
||||
'updated_at' => '2021-07-01 16:18:55',
|
||||
'deleted_at' => '2021-07-01 16:18:55',
|
||||
),
|
||||
39 =>
|
||||
array (
|
||||
'id' => 40,
|
||||
'project_id' => 7,
|
||||
'name' => '前端',
|
||||
'color' => '',
|
||||
'sort' => 7,
|
||||
'created_at' => '2021-07-01 16:18:25',
|
||||
'updated_at' => '2021-07-01 16:18:57',
|
||||
'deleted_at' => '2021-07-01 16:18:57',
|
||||
),
|
||||
40 =>
|
||||
array (
|
||||
'id' => 41,
|
||||
'project_id' => 7,
|
||||
'name' => '前端',
|
||||
'color' => '',
|
||||
'sort' => 8,
|
||||
'created_at' => '2021-07-01 16:18:26',
|
||||
'updated_at' => '2021-07-01 16:18:59',
|
||||
'deleted_at' => '2021-07-01 16:18:59',
|
||||
),
|
||||
41 =>
|
||||
array (
|
||||
'id' => 42,
|
||||
'project_id' => 7,
|
||||
'name' => '前端',
|
||||
'color' => '',
|
||||
'sort' => 9,
|
||||
'created_at' => '2021-07-01 16:18:44',
|
||||
'updated_at' => '2021-07-01 16:19:02',
|
||||
'deleted_at' => '2021-07-01 16:19:02',
|
||||
),
|
||||
));
|
||||
|
||||
|
||||
}
|
||||
}
|
4266
database/seeders/ProjectLogsTableSeeder.php
Normal file
4266
database/seeders/ProjectLogsTableSeeder.php
Normal file
File diff suppressed because it is too large
Load Diff
307
database/seeders/ProjectTaskContentsTableSeeder.php
Normal file
307
database/seeders/ProjectTaskContentsTableSeeder.php
Normal file
@ -0,0 +1,307 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class ProjectTaskContentsTableSeeder extends Seeder
|
||||
{
|
||||
|
||||
/**
|
||||
* Auto generated seed file
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
|
||||
|
||||
if (\DB::table('project_task_contents')->count() > 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
\DB::table('project_task_contents')->insert(array (
|
||||
0 =>
|
||||
array (
|
||||
'id' => 1,
|
||||
'project_id' => 3,
|
||||
'task_id' => 9,
|
||||
'content' => 'https://sketchrepo.com/',
|
||||
'created_at' => '2021-07-01 11:08:30',
|
||||
'updated_at' => '2021-07-01 11:08:30',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'id' => 2,
|
||||
'project_id' => 3,
|
||||
'task_id' => 10,
|
||||
'content' => 'https://psdrepo.com/',
|
||||
'created_at' => '2021-07-01 11:10:05',
|
||||
'updated_at' => '2021-07-01 11:10:05',
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
'id' => 3,
|
||||
'project_id' => 3,
|
||||
'task_id' => 11,
|
||||
'content' => '<a>https://magdeleine.co/</a>',
|
||||
'created_at' => '2021-07-01 11:11:05',
|
||||
'updated_at' => '2021-07-01 11:11:11',
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
'id' => 4,
|
||||
'project_id' => 3,
|
||||
'task_id' => 12,
|
||||
'content' => '<a>https://weheartit.com/</a>',
|
||||
'created_at' => '2021-07-01 11:11:36',
|
||||
'updated_at' => '2021-07-01 11:11:36',
|
||||
),
|
||||
4 =>
|
||||
array (
|
||||
'id' => 5,
|
||||
'project_id' => 3,
|
||||
'task_id' => 18,
|
||||
'content' => '<a>http://wit-web.azurewebsites.net/assistor/download</a>',
|
||||
'created_at' => '2021-07-01 11:15:40',
|
||||
'updated_at' => '2021-07-01 11:15:40',
|
||||
),
|
||||
5 =>
|
||||
array (
|
||||
'id' => 6,
|
||||
'project_id' => 3,
|
||||
'task_id' => 22,
|
||||
'content' => 'https://www.easyicon.net/',
|
||||
'created_at' => '2021-07-01 11:17:13',
|
||||
'updated_at' => '2021-07-01 11:17:13',
|
||||
),
|
||||
6 =>
|
||||
array (
|
||||
'id' => 7,
|
||||
'project_id' => 3,
|
||||
'task_id' => 23,
|
||||
'content' => 'https://www.icondeposit.com/',
|
||||
'created_at' => '2021-07-01 11:17:35',
|
||||
'updated_at' => '2021-07-01 11:17:35',
|
||||
),
|
||||
7 =>
|
||||
array (
|
||||
'id' => 8,
|
||||
'project_id' => 3,
|
||||
'task_id' => 17,
|
||||
'content' => 'https://guideguide.me/photoshop/',
|
||||
'created_at' => '2021-07-01 11:18:17',
|
||||
'updated_at' => '2021-07-01 11:18:17',
|
||||
),
|
||||
8 =>
|
||||
array (
|
||||
'id' => 9,
|
||||
'project_id' => 3,
|
||||
'task_id' => 26,
|
||||
'content' => '<a>https://www.logolounge.com/</a>',
|
||||
'created_at' => '2021-07-01 11:23:38',
|
||||
'updated_at' => '2021-07-01 11:23:38',
|
||||
),
|
||||
9 =>
|
||||
array (
|
||||
'id' => 10,
|
||||
'project_id' => 3,
|
||||
'task_id' => 27,
|
||||
'content' => 'https://www.logomoose.com/',
|
||||
'created_at' => '2021-07-01 11:24:03',
|
||||
'updated_at' => '2021-07-01 11:24:10',
|
||||
),
|
||||
10 =>
|
||||
array (
|
||||
'id' => 11,
|
||||
'project_id' => 3,
|
||||
'task_id' => 25,
|
||||
'content' => '设计https://www.logaster.cn/',
|
||||
'created_at' => '2021-07-01 11:24:26',
|
||||
'updated_at' => '2021-07-01 11:24:26',
|
||||
),
|
||||
11 =>
|
||||
array (
|
||||
'id' => 12,
|
||||
'project_id' => 3,
|
||||
'task_id' => 24,
|
||||
'content' => 'https://iconify.net/',
|
||||
'created_at' => '2021-07-01 11:24:33',
|
||||
'updated_at' => '2021-07-01 11:24:33',
|
||||
),
|
||||
12 =>
|
||||
array (
|
||||
'id' => 13,
|
||||
'project_id' => 3,
|
||||
'task_id' => 16,
|
||||
'content' => 'http://retinize.it/',
|
||||
'created_at' => '2021-07-01 11:24:39',
|
||||
'updated_at' => '2021-07-01 11:24:39',
|
||||
),
|
||||
13 =>
|
||||
array (
|
||||
'id' => 14,
|
||||
'project_id' => 3,
|
||||
'task_id' => 13,
|
||||
'content' => 'https://huaban.com/',
|
||||
'created_at' => '2021-07-01 11:24:44',
|
||||
'updated_at' => '2021-07-01 11:24:44',
|
||||
),
|
||||
14 =>
|
||||
array (
|
||||
'id' => 15,
|
||||
'project_id' => 3,
|
||||
'task_id' => 14,
|
||||
'content' => 'https://wallhaven.typepad.com/',
|
||||
'created_at' => '2021-07-01 11:24:51',
|
||||
'updated_at' => '2021-07-01 11:24:51',
|
||||
),
|
||||
15 =>
|
||||
array (
|
||||
'id' => 16,
|
||||
'project_id' => 3,
|
||||
'task_id' => 15,
|
||||
'content' => 'https://www.pexels.com/',
|
||||
'created_at' => '2021-07-01 11:24:57',
|
||||
'updated_at' => '2021-07-01 11:24:57',
|
||||
),
|
||||
16 =>
|
||||
array (
|
||||
'id' => 17,
|
||||
'project_id' => 3,
|
||||
'task_id' => 28,
|
||||
'content' => 'http://www.logoed.co.uk/page/2/',
|
||||
'created_at' => '2021-07-01 11:25:30',
|
||||
'updated_at' => '2021-07-01 11:25:30',
|
||||
),
|
||||
17 =>
|
||||
array (
|
||||
'id' => 18,
|
||||
'project_id' => 2,
|
||||
'task_id' => 30,
|
||||
'content' => '7777777',
|
||||
'created_at' => '2021-07-01 11:26:41',
|
||||
'updated_at' => '2021-07-01 11:26:41',
|
||||
),
|
||||
18 =>
|
||||
array (
|
||||
'id' => 19,
|
||||
'project_id' => 3,
|
||||
'task_id' => 29,
|
||||
'content' => 'https://logooftheday.com/',
|
||||
'created_at' => '2021-07-01 11:27:00',
|
||||
'updated_at' => '2021-07-01 11:27:00',
|
||||
),
|
||||
19 =>
|
||||
array (
|
||||
'id' => 20,
|
||||
'project_id' => 3,
|
||||
'task_id' => 33,
|
||||
'content' => 'LogoDesignLove:Logo设计技巧分享网',
|
||||
'created_at' => '2021-07-01 11:27:43',
|
||||
'updated_at' => '2021-07-01 11:27:43',
|
||||
),
|
||||
20 =>
|
||||
array (
|
||||
'id' => 21,
|
||||
'project_id' => 3,
|
||||
'task_id' => 35,
|
||||
'content' => '<a>https://coolors.co/</a>',
|
||||
'created_at' => '2021-07-01 11:28:29',
|
||||
'updated_at' => '2021-07-01 11:28:29',
|
||||
),
|
||||
21 =>
|
||||
array (
|
||||
'id' => 22,
|
||||
'project_id' => 3,
|
||||
'task_id' => 36,
|
||||
'content' => 'https://www.materialpalette.com/',
|
||||
'created_at' => '2021-07-01 11:28:51',
|
||||
'updated_at' => '2021-07-01 11:28:51',
|
||||
),
|
||||
22 =>
|
||||
array (
|
||||
'id' => 23,
|
||||
'project_id' => 3,
|
||||
'task_id' => 37,
|
||||
'content' => 'https://www.bootcss.com/p/websafecolors/',
|
||||
'created_at' => '2021-07-01 11:29:07',
|
||||
'updated_at' => '2021-07-01 11:29:07',
|
||||
),
|
||||
23 =>
|
||||
array (
|
||||
'id' => 24,
|
||||
'project_id' => 3,
|
||||
'task_id' => 38,
|
||||
'content' => 'https://www.colorzilla.com/',
|
||||
'created_at' => '2021-07-01 11:29:31',
|
||||
'updated_at' => '2021-07-01 11:29:31',
|
||||
),
|
||||
24 =>
|
||||
array (
|
||||
'id' => 25,
|
||||
'project_id' => 3,
|
||||
'task_id' => 40,
|
||||
'content' => 'https://www.iconfont.cn/',
|
||||
'created_at' => '2021-07-01 11:30:16',
|
||||
'updated_at' => '2021-07-01 11:30:16',
|
||||
),
|
||||
25 =>
|
||||
array (
|
||||
'id' => 26,
|
||||
'project_id' => 3,
|
||||
'task_id' => 41,
|
||||
'content' => 'https://www.iconfont.cn/',
|
||||
'created_at' => '2021-07-01 11:30:41',
|
||||
'updated_at' => '2021-07-01 11:30:41',
|
||||
),
|
||||
26 =>
|
||||
array (
|
||||
'id' => 27,
|
||||
'project_id' => 4,
|
||||
'task_id' => 48,
|
||||
'content' => '',
|
||||
'created_at' => '2021-07-01 11:58:10',
|
||||
'updated_at' => '2021-07-01 11:58:26',
|
||||
),
|
||||
27 =>
|
||||
array (
|
||||
'id' => 28,
|
||||
'project_id' => 4,
|
||||
'task_id' => 59,
|
||||
'content' => '',
|
||||
'created_at' => '2021-07-01 12:04:08',
|
||||
'updated_at' => '2021-07-01 16:47:40',
|
||||
),
|
||||
28 =>
|
||||
array (
|
||||
'id' => 29,
|
||||
'project_id' => 3,
|
||||
'task_id' => 19,
|
||||
'content' => 'http://fontello.com/',
|
||||
'created_at' => '2021-07-01 16:45:47',
|
||||
'updated_at' => '2021-07-01 16:45:47',
|
||||
),
|
||||
29 =>
|
||||
array (
|
||||
'id' => 30,
|
||||
'project_id' => 3,
|
||||
'task_id' => 20,
|
||||
'content' => 'https://www.iconfont.cn/',
|
||||
'created_at' => '2021-07-01 16:45:52',
|
||||
'updated_at' => '2021-07-01 16:45:52',
|
||||
),
|
||||
30 =>
|
||||
array (
|
||||
'id' => 31,
|
||||
'project_id' => 3,
|
||||
'task_id' => 21,
|
||||
'content' => 'https://thenounproject.com/',
|
||||
'created_at' => '2021-07-01 16:45:57',
|
||||
'updated_at' => '2021-07-01 16:45:57',
|
||||
),
|
||||
));
|
||||
|
||||
|
||||
}
|
||||
}
|
798
database/seeders/ProjectTaskUsersTableSeeder.php
Normal file
798
database/seeders/ProjectTaskUsersTableSeeder.php
Normal file
@ -0,0 +1,798 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class ProjectTaskUsersTableSeeder extends Seeder
|
||||
{
|
||||
|
||||
/**
|
||||
* Auto generated seed file
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
|
||||
|
||||
if (\DB::table('project_task_users')->count() > 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
\DB::table('project_task_users')->insert(array (
|
||||
0 =>
|
||||
array (
|
||||
'id' => 1,
|
||||
'project_id' => 2,
|
||||
'task_id' => 1,
|
||||
'task_pid' => 1,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 10:49:07',
|
||||
'updated_at' => '2021-07-01 10:49:07',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'id' => 3,
|
||||
'project_id' => 2,
|
||||
'task_id' => 3,
|
||||
'task_pid' => 2,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 10:50:23',
|
||||
'updated_at' => '2021-07-01 10:50:23',
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
'id' => 4,
|
||||
'project_id' => 2,
|
||||
'task_id' => 4,
|
||||
'task_pid' => 2,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 10:50:28',
|
||||
'updated_at' => '2021-07-01 10:50:28',
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
'id' => 5,
|
||||
'project_id' => 2,
|
||||
'task_id' => 5,
|
||||
'task_pid' => 5,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 10:51:05',
|
||||
'updated_at' => '2021-07-01 10:51:05',
|
||||
),
|
||||
4 =>
|
||||
array (
|
||||
'id' => 6,
|
||||
'project_id' => 2,
|
||||
'task_id' => 6,
|
||||
'task_pid' => 6,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 10:52:00',
|
||||
'updated_at' => '2021-07-01 10:52:00',
|
||||
),
|
||||
5 =>
|
||||
array (
|
||||
'id' => 7,
|
||||
'project_id' => 2,
|
||||
'task_id' => 7,
|
||||
'task_pid' => 7,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 10:53:07',
|
||||
'updated_at' => '2021-07-01 10:53:07',
|
||||
),
|
||||
6 =>
|
||||
array (
|
||||
'id' => 8,
|
||||
'project_id' => 2,
|
||||
'task_id' => 8,
|
||||
'task_pid' => 8,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 10:53:44',
|
||||
'updated_at' => '2021-07-01 10:53:44',
|
||||
),
|
||||
7 =>
|
||||
array (
|
||||
'id' => 10,
|
||||
'project_id' => 3,
|
||||
'task_id' => 10,
|
||||
'task_pid' => 10,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 11:09:51',
|
||||
'updated_at' => '2021-07-01 11:09:51',
|
||||
),
|
||||
8 =>
|
||||
array (
|
||||
'id' => 11,
|
||||
'project_id' => 3,
|
||||
'task_id' => 11,
|
||||
'task_pid' => 11,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 11:10:22',
|
||||
'updated_at' => '2021-07-01 11:10:22',
|
||||
),
|
||||
9 =>
|
||||
array (
|
||||
'id' => 12,
|
||||
'project_id' => 3,
|
||||
'task_id' => 12,
|
||||
'task_pid' => 12,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 11:11:26',
|
||||
'updated_at' => '2021-07-01 11:11:26',
|
||||
),
|
||||
10 =>
|
||||
array (
|
||||
'id' => 13,
|
||||
'project_id' => 3,
|
||||
'task_id' => 13,
|
||||
'task_pid' => 13,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 11:12:31',
|
||||
'updated_at' => '2021-07-01 11:12:31',
|
||||
),
|
||||
11 =>
|
||||
array (
|
||||
'id' => 15,
|
||||
'project_id' => 3,
|
||||
'task_id' => 15,
|
||||
'task_pid' => 15,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 11:14:01',
|
||||
'updated_at' => '2021-07-01 11:14:01',
|
||||
),
|
||||
12 =>
|
||||
array (
|
||||
'id' => 16,
|
||||
'project_id' => 3,
|
||||
'task_id' => 16,
|
||||
'task_pid' => 16,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 11:14:41',
|
||||
'updated_at' => '2021-07-01 11:14:41',
|
||||
),
|
||||
13 =>
|
||||
array (
|
||||
'id' => 17,
|
||||
'project_id' => 3,
|
||||
'task_id' => 17,
|
||||
'task_pid' => 17,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 11:14:53',
|
||||
'updated_at' => '2021-07-01 11:14:53',
|
||||
),
|
||||
14 =>
|
||||
array (
|
||||
'id' => 18,
|
||||
'project_id' => 3,
|
||||
'task_id' => 18,
|
||||
'task_pid' => 18,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 11:15:31',
|
||||
'updated_at' => '2021-07-01 11:15:31',
|
||||
),
|
||||
15 =>
|
||||
array (
|
||||
'id' => 19,
|
||||
'project_id' => 3,
|
||||
'task_id' => 19,
|
||||
'task_pid' => 19,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 11:16:31',
|
||||
'updated_at' => '2021-07-01 11:16:31',
|
||||
),
|
||||
16 =>
|
||||
array (
|
||||
'id' => 20,
|
||||
'project_id' => 3,
|
||||
'task_id' => 20,
|
||||
'task_pid' => 20,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 11:16:43',
|
||||
'updated_at' => '2021-07-01 11:16:43',
|
||||
),
|
||||
17 =>
|
||||
array (
|
||||
'id' => 21,
|
||||
'project_id' => 3,
|
||||
'task_id' => 21,
|
||||
'task_pid' => 21,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 11:16:52',
|
||||
'updated_at' => '2021-07-01 11:16:52',
|
||||
),
|
||||
18 =>
|
||||
array (
|
||||
'id' => 23,
|
||||
'project_id' => 3,
|
||||
'task_id' => 23,
|
||||
'task_pid' => 23,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 11:17:27',
|
||||
'updated_at' => '2021-07-01 11:17:27',
|
||||
),
|
||||
19 =>
|
||||
array (
|
||||
'id' => 24,
|
||||
'project_id' => 3,
|
||||
'task_id' => 24,
|
||||
'task_pid' => 24,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 11:17:52',
|
||||
'updated_at' => '2021-07-01 11:17:52',
|
||||
),
|
||||
20 =>
|
||||
array (
|
||||
'id' => 25,
|
||||
'project_id' => 3,
|
||||
'task_id' => 25,
|
||||
'task_pid' => 25,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 11:23:18',
|
||||
'updated_at' => '2021-07-01 11:23:18',
|
||||
),
|
||||
21 =>
|
||||
array (
|
||||
'id' => 26,
|
||||
'project_id' => 3,
|
||||
'task_id' => 26,
|
||||
'task_pid' => 26,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 11:23:29',
|
||||
'updated_at' => '2021-07-01 11:23:29',
|
||||
),
|
||||
22 =>
|
||||
array (
|
||||
'id' => 27,
|
||||
'project_id' => 3,
|
||||
'task_id' => 27,
|
||||
'task_pid' => 27,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 11:23:54',
|
||||
'updated_at' => '2021-07-01 11:23:54',
|
||||
),
|
||||
23 =>
|
||||
array (
|
||||
'id' => 30,
|
||||
'project_id' => 2,
|
||||
'task_id' => 30,
|
||||
'task_pid' => 30,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 11:26:33',
|
||||
'updated_at' => '2021-07-01 11:26:33',
|
||||
),
|
||||
24 =>
|
||||
array (
|
||||
'id' => 31,
|
||||
'project_id' => 2,
|
||||
'task_id' => 31,
|
||||
'task_pid' => 31,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 11:26:46',
|
||||
'updated_at' => '2021-07-01 11:26:46',
|
||||
),
|
||||
25 =>
|
||||
array (
|
||||
'id' => 32,
|
||||
'project_id' => 3,
|
||||
'task_id' => 32,
|
||||
'task_pid' => 32,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 11:27:11',
|
||||
'updated_at' => '2021-07-01 11:27:11',
|
||||
),
|
||||
26 =>
|
||||
array (
|
||||
'id' => 34,
|
||||
'project_id' => 3,
|
||||
'task_id' => 34,
|
||||
'task_pid' => 34,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 11:27:47',
|
||||
'updated_at' => '2021-07-01 11:27:47',
|
||||
),
|
||||
27 =>
|
||||
array (
|
||||
'id' => 38,
|
||||
'project_id' => 3,
|
||||
'task_id' => 38,
|
||||
'task_pid' => 38,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 11:29:17',
|
||||
'updated_at' => '2021-07-01 11:29:17',
|
||||
),
|
||||
28 =>
|
||||
array (
|
||||
'id' => 40,
|
||||
'project_id' => 3,
|
||||
'task_id' => 40,
|
||||
'task_pid' => 40,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 11:30:10',
|
||||
'updated_at' => '2021-07-01 11:30:10',
|
||||
),
|
||||
29 =>
|
||||
array (
|
||||
'id' => 42,
|
||||
'project_id' => 3,
|
||||
'task_id' => 42,
|
||||
'task_pid' => 42,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 11:31:19',
|
||||
'updated_at' => '2021-07-01 11:31:19',
|
||||
),
|
||||
30 =>
|
||||
array (
|
||||
'id' => 43,
|
||||
'project_id' => 4,
|
||||
'task_id' => 43,
|
||||
'task_pid' => 43,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 11:43:35',
|
||||
'updated_at' => '2021-07-01 11:43:35',
|
||||
),
|
||||
31 =>
|
||||
array (
|
||||
'id' => 44,
|
||||
'project_id' => 4,
|
||||
'task_id' => 44,
|
||||
'task_pid' => 44,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 11:43:52',
|
||||
'updated_at' => '2021-07-01 11:43:52',
|
||||
),
|
||||
32 =>
|
||||
array (
|
||||
'id' => 45,
|
||||
'project_id' => 4,
|
||||
'task_id' => 45,
|
||||
'task_pid' => 45,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 11:44:00',
|
||||
'updated_at' => '2021-07-01 11:44:00',
|
||||
),
|
||||
33 =>
|
||||
array (
|
||||
'id' => 46,
|
||||
'project_id' => 4,
|
||||
'task_id' => 46,
|
||||
'task_pid' => 46,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 11:44:13',
|
||||
'updated_at' => '2021-07-01 11:44:13',
|
||||
),
|
||||
34 =>
|
||||
array (
|
||||
'id' => 47,
|
||||
'project_id' => 2,
|
||||
'task_id' => 47,
|
||||
'task_pid' => 47,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 11:53:43',
|
||||
'updated_at' => '2021-07-01 11:53:43',
|
||||
),
|
||||
35 =>
|
||||
array (
|
||||
'id' => 52,
|
||||
'project_id' => 4,
|
||||
'task_id' => 54,
|
||||
'task_pid' => 54,
|
||||
'userid' => 1,
|
||||
'owner' => 0,
|
||||
'created_at' => '2021-07-01 14:01:27',
|
||||
'updated_at' => '2021-07-01 14:01:27',
|
||||
),
|
||||
36 =>
|
||||
array (
|
||||
'id' => 53,
|
||||
'project_id' => 4,
|
||||
'task_id' => 48,
|
||||
'task_pid' => 48,
|
||||
'userid' => 1,
|
||||
'owner' => 0,
|
||||
'created_at' => '2021-07-01 14:01:51',
|
||||
'updated_at' => '2021-07-01 14:01:51',
|
||||
),
|
||||
37 =>
|
||||
array (
|
||||
'id' => 54,
|
||||
'project_id' => 4,
|
||||
'task_id' => 49,
|
||||
'task_pid' => 49,
|
||||
'userid' => 1,
|
||||
'owner' => 0,
|
||||
'created_at' => '2021-07-01 14:01:59',
|
||||
'updated_at' => '2021-07-01 14:01:59',
|
||||
),
|
||||
38 =>
|
||||
array (
|
||||
'id' => 55,
|
||||
'project_id' => 4,
|
||||
'task_id' => 50,
|
||||
'task_pid' => 50,
|
||||
'userid' => 1,
|
||||
'owner' => 0,
|
||||
'created_at' => '2021-07-01 14:02:09',
|
||||
'updated_at' => '2021-07-01 14:02:09',
|
||||
),
|
||||
39 =>
|
||||
array (
|
||||
'id' => 56,
|
||||
'project_id' => 4,
|
||||
'task_id' => 51,
|
||||
'task_pid' => 51,
|
||||
'userid' => 1,
|
||||
'owner' => 0,
|
||||
'created_at' => '2021-07-01 14:02:22',
|
||||
'updated_at' => '2021-07-01 14:02:22',
|
||||
),
|
||||
40 =>
|
||||
array (
|
||||
'id' => 57,
|
||||
'project_id' => 4,
|
||||
'task_id' => 53,
|
||||
'task_pid' => 53,
|
||||
'userid' => 1,
|
||||
'owner' => 0,
|
||||
'created_at' => '2021-07-01 14:02:33',
|
||||
'updated_at' => '2021-07-01 14:02:33',
|
||||
),
|
||||
41 =>
|
||||
array (
|
||||
'id' => 58,
|
||||
'project_id' => 6,
|
||||
'task_id' => 77,
|
||||
'task_pid' => 77,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 15:38:36',
|
||||
'updated_at' => '2021-07-01 15:38:57',
|
||||
),
|
||||
42 =>
|
||||
array (
|
||||
'id' => 59,
|
||||
'project_id' => 6,
|
||||
'task_id' => 78,
|
||||
'task_pid' => 78,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 15:39:38',
|
||||
'updated_at' => '2021-07-01 15:39:38',
|
||||
),
|
||||
43 =>
|
||||
array (
|
||||
'id' => 60,
|
||||
'project_id' => 6,
|
||||
'task_id' => 79,
|
||||
'task_pid' => 79,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 15:40:13',
|
||||
'updated_at' => '2021-07-01 15:40:13',
|
||||
),
|
||||
44 =>
|
||||
array (
|
||||
'id' => 61,
|
||||
'project_id' => 6,
|
||||
'task_id' => 80,
|
||||
'task_pid' => 80,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 15:40:45',
|
||||
'updated_at' => '2021-07-01 15:40:45',
|
||||
),
|
||||
45 =>
|
||||
array (
|
||||
'id' => 62,
|
||||
'project_id' => 6,
|
||||
'task_id' => 81,
|
||||
'task_pid' => 80,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 15:41:34',
|
||||
'updated_at' => '2021-07-01 15:41:34',
|
||||
),
|
||||
46 =>
|
||||
array (
|
||||
'id' => 63,
|
||||
'project_id' => 6,
|
||||
'task_id' => 82,
|
||||
'task_pid' => 80,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 15:41:37',
|
||||
'updated_at' => '2021-07-01 15:41:37',
|
||||
),
|
||||
47 =>
|
||||
array (
|
||||
'id' => 64,
|
||||
'project_id' => 6,
|
||||
'task_id' => 83,
|
||||
'task_pid' => 80,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 15:41:40',
|
||||
'updated_at' => '2021-07-01 15:41:40',
|
||||
),
|
||||
48 =>
|
||||
array (
|
||||
'id' => 65,
|
||||
'project_id' => 6,
|
||||
'task_id' => 84,
|
||||
'task_pid' => 84,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 15:42:06',
|
||||
'updated_at' => '2021-07-01 15:42:06',
|
||||
),
|
||||
49 =>
|
||||
array (
|
||||
'id' => 66,
|
||||
'project_id' => 5,
|
||||
'task_id' => 69,
|
||||
'task_pid' => 69,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 15:44:47',
|
||||
'updated_at' => '2021-07-01 15:44:47',
|
||||
),
|
||||
50 =>
|
||||
array (
|
||||
'id' => 67,
|
||||
'project_id' => 7,
|
||||
'task_id' => 85,
|
||||
'task_pid' => 85,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 16:16:12',
|
||||
'updated_at' => '2021-07-01 16:16:12',
|
||||
),
|
||||
51 =>
|
||||
array (
|
||||
'id' => 68,
|
||||
'project_id' => 7,
|
||||
'task_id' => 86,
|
||||
'task_pid' => 85,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 16:16:40',
|
||||
'updated_at' => '2021-07-01 16:16:40',
|
||||
),
|
||||
52 =>
|
||||
array (
|
||||
'id' => 69,
|
||||
'project_id' => 7,
|
||||
'task_id' => 87,
|
||||
'task_pid' => 85,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 16:16:45',
|
||||
'updated_at' => '2021-07-01 16:16:45',
|
||||
),
|
||||
53 =>
|
||||
array (
|
||||
'id' => 70,
|
||||
'project_id' => 7,
|
||||
'task_id' => 88,
|
||||
'task_pid' => 85,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 16:16:51',
|
||||
'updated_at' => '2021-07-01 16:16:51',
|
||||
),
|
||||
54 =>
|
||||
array (
|
||||
'id' => 71,
|
||||
'project_id' => 7,
|
||||
'task_id' => 89,
|
||||
'task_pid' => 85,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 16:16:54',
|
||||
'updated_at' => '2021-07-01 16:16:54',
|
||||
),
|
||||
55 =>
|
||||
array (
|
||||
'id' => 72,
|
||||
'project_id' => 7,
|
||||
'task_id' => 90,
|
||||
'task_pid' => 85,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 16:17:01',
|
||||
'updated_at' => '2021-07-01 16:17:01',
|
||||
),
|
||||
56 =>
|
||||
array (
|
||||
'id' => 73,
|
||||
'project_id' => 7,
|
||||
'task_id' => 91,
|
||||
'task_pid' => 85,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 16:17:03',
|
||||
'updated_at' => '2021-07-01 16:17:03',
|
||||
),
|
||||
57 =>
|
||||
array (
|
||||
'id' => 74,
|
||||
'project_id' => 7,
|
||||
'task_id' => 92,
|
||||
'task_pid' => 92,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 16:18:11',
|
||||
'updated_at' => '2021-07-01 16:18:11',
|
||||
),
|
||||
58 =>
|
||||
array (
|
||||
'id' => 76,
|
||||
'project_id' => 7,
|
||||
'task_id' => 93,
|
||||
'task_pid' => 93,
|
||||
'userid' => 2,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 16:23:49',
|
||||
'updated_at' => '2021-07-01 16:23:49',
|
||||
),
|
||||
59 =>
|
||||
array (
|
||||
'id' => 77,
|
||||
'project_id' => 7,
|
||||
'task_id' => 93,
|
||||
'task_pid' => 93,
|
||||
'userid' => 1,
|
||||
'owner' => 0,
|
||||
'created_at' => '2021-07-01 16:23:57',
|
||||
'updated_at' => '2021-07-01 16:23:57',
|
||||
),
|
||||
60 =>
|
||||
array (
|
||||
'id' => 78,
|
||||
'project_id' => 2,
|
||||
'task_id' => 6,
|
||||
'task_pid' => 6,
|
||||
'userid' => 2,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 16:24:16',
|
||||
'updated_at' => '2021-07-01 16:24:16',
|
||||
),
|
||||
61 =>
|
||||
array (
|
||||
'id' => 79,
|
||||
'project_id' => 2,
|
||||
'task_id' => 2,
|
||||
'task_pid' => 2,
|
||||
'userid' => 2,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 16:24:47',
|
||||
'updated_at' => '2021-07-01 16:24:47',
|
||||
),
|
||||
62 =>
|
||||
array (
|
||||
'id' => 81,
|
||||
'project_id' => 5,
|
||||
'task_id' => 71,
|
||||
'task_pid' => 71,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 16:29:55',
|
||||
'updated_at' => '2021-07-01 16:30:06',
|
||||
),
|
||||
63 =>
|
||||
array (
|
||||
'id' => 82,
|
||||
'project_id' => 5,
|
||||
'task_id' => 71,
|
||||
'task_pid' => 71,
|
||||
'userid' => 2,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 16:30:21',
|
||||
'updated_at' => '2021-07-01 16:30:21',
|
||||
),
|
||||
64 =>
|
||||
array (
|
||||
'id' => 86,
|
||||
'project_id' => 5,
|
||||
'task_id' => 94,
|
||||
'task_pid' => 94,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 16:44:53',
|
||||
'updated_at' => '2021-07-01 16:44:53',
|
||||
),
|
||||
65 =>
|
||||
array (
|
||||
'id' => 88,
|
||||
'project_id' => 5,
|
||||
'task_id' => 70,
|
||||
'task_pid' => 70,
|
||||
'userid' => 2,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 16:48:33',
|
||||
'updated_at' => '2021-07-01 16:48:33',
|
||||
),
|
||||
66 =>
|
||||
array (
|
||||
'id' => 89,
|
||||
'project_id' => 6,
|
||||
'task_id' => 76,
|
||||
'task_pid' => 76,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 16:48:45',
|
||||
'updated_at' => '2021-07-01 16:48:45',
|
||||
),
|
||||
67 =>
|
||||
array (
|
||||
'id' => 90,
|
||||
'project_id' => 3,
|
||||
'task_id' => 9,
|
||||
'task_pid' => 9,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 16:49:12',
|
||||
'updated_at' => '2021-07-01 16:49:12',
|
||||
),
|
||||
68 =>
|
||||
array (
|
||||
'id' => 91,
|
||||
'project_id' => 3,
|
||||
'task_id' => 9,
|
||||
'task_pid' => 9,
|
||||
'userid' => 2,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 16:49:16',
|
||||
'updated_at' => '2021-07-01 16:49:16',
|
||||
),
|
||||
69 =>
|
||||
array (
|
||||
'id' => 92,
|
||||
'project_id' => 3,
|
||||
'task_id' => 14,
|
||||
'task_pid' => 14,
|
||||
'userid' => 2,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 16:49:29',
|
||||
'updated_at' => '2021-07-01 16:49:29',
|
||||
),
|
||||
));
|
||||
|
||||
|
||||
}
|
||||
}
|
2290
database/seeders/ProjectTasksTableSeeder.php
Normal file
2290
database/seeders/ProjectTasksTableSeeder.php
Normal file
File diff suppressed because it is too large
Load Diff
127
database/seeders/ProjectUsersTableSeeder.php
Normal file
127
database/seeders/ProjectUsersTableSeeder.php
Normal file
@ -0,0 +1,127 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class ProjectUsersTableSeeder extends Seeder
|
||||
{
|
||||
|
||||
/**
|
||||
* Auto generated seed file
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
|
||||
|
||||
if (\DB::table('project_users')->count() > 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
\DB::table('project_users')->insert(array (
|
||||
0 =>
|
||||
array (
|
||||
'id' => 1,
|
||||
'project_id' => 1,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 10:46:47',
|
||||
'updated_at' => '2021-07-01 10:46:47',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'id' => 2,
|
||||
'project_id' => 2,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 10:47:45',
|
||||
'updated_at' => '2021-07-01 10:47:45',
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
'id' => 3,
|
||||
'project_id' => 3,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 11:02:57',
|
||||
'updated_at' => '2021-07-01 11:02:57',
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
'id' => 4,
|
||||
'project_id' => 4,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 11:43:01',
|
||||
'updated_at' => '2021-07-01 11:43:01',
|
||||
),
|
||||
4 =>
|
||||
array (
|
||||
'id' => 5,
|
||||
'project_id' => 5,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 15:33:23',
|
||||
'updated_at' => '2021-07-01 15:33:23',
|
||||
),
|
||||
5 =>
|
||||
array (
|
||||
'id' => 6,
|
||||
'project_id' => 6,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 15:37:06',
|
||||
'updated_at' => '2021-07-01 15:37:06',
|
||||
),
|
||||
6 =>
|
||||
array (
|
||||
'id' => 7,
|
||||
'project_id' => 7,
|
||||
'userid' => 1,
|
||||
'owner' => 1,
|
||||
'created_at' => '2021-07-01 16:15:28',
|
||||
'updated_at' => '2021-07-01 16:15:28',
|
||||
),
|
||||
7 =>
|
||||
array (
|
||||
'id' => 8,
|
||||
'project_id' => 3,
|
||||
'userid' => 2,
|
||||
'owner' => 0,
|
||||
'created_at' => '2021-07-01 16:22:42',
|
||||
'updated_at' => '2021-07-01 16:22:42',
|
||||
),
|
||||
8 =>
|
||||
array (
|
||||
'id' => 9,
|
||||
'project_id' => 2,
|
||||
'userid' => 2,
|
||||
'owner' => 0,
|
||||
'created_at' => '2021-07-01 16:23:15',
|
||||
'updated_at' => '2021-07-01 16:23:15',
|
||||
),
|
||||
9 =>
|
||||
array (
|
||||
'id' => 10,
|
||||
'project_id' => 7,
|
||||
'userid' => 2,
|
||||
'owner' => 0,
|
||||
'created_at' => '2021-07-01 16:23:40',
|
||||
'updated_at' => '2021-07-01 16:23:40',
|
||||
),
|
||||
10 =>
|
||||
array (
|
||||
'id' => 11,
|
||||
'project_id' => 5,
|
||||
'userid' => 2,
|
||||
'owner' => 0,
|
||||
'created_at' => '2021-07-01 16:29:38',
|
||||
'updated_at' => '2021-07-01 16:29:38',
|
||||
),
|
||||
));
|
||||
|
||||
|
||||
}
|
||||
}
|
123
database/seeders/ProjectsTableSeeder.php
Normal file
123
database/seeders/ProjectsTableSeeder.php
Normal file
@ -0,0 +1,123 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class ProjectsTableSeeder extends Seeder
|
||||
{
|
||||
|
||||
/**
|
||||
* Auto generated seed file
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
|
||||
|
||||
if (\DB::table('projects')->count() > 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
\DB::table('projects')->insert(array (
|
||||
0 =>
|
||||
array (
|
||||
'id' => 1,
|
||||
'name' => '测试',
|
||||
'desc' => '',
|
||||
'userid' => 1,
|
||||
'dialog_id' => 3,
|
||||
'archived_at' => NULL,
|
||||
'archived_userid' => 0,
|
||||
'created_at' => '2021-07-01 10:46:47',
|
||||
'updated_at' => '2021-07-01 10:46:55',
|
||||
'deleted_at' => '2021-07-01 10:46:55',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'id' => 2,
|
||||
'name' => '🗓 项目进度管理',
|
||||
'desc' => '❓❗ 说明:将进度分成多级
|
||||
每张卡片为一个项目任务,标签表示任务状况
|
||||
通过将卡片拖至不同的进度列表下,来表示各项目进度',
|
||||
'userid' => 1,
|
||||
'dialog_id' => 5,
|
||||
'archived_at' => NULL,
|
||||
'archived_userid' => 0,
|
||||
'created_at' => '2021-07-01 10:47:45',
|
||||
'updated_at' => '2021-07-01 16:42:23',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
'id' => 3,
|
||||
'name' => '📇 设计必备网站',
|
||||
'desc' => '针对灵感缺乏的情况,把一些知名设计网站都梳理到了这个项目中。',
|
||||
'userid' => 1,
|
||||
'dialog_id' => 7,
|
||||
'archived_at' => NULL,
|
||||
'archived_userid' => 0,
|
||||
'created_at' => '2021-07-01 11:02:57',
|
||||
'updated_at' => '2021-07-01 16:41:59',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
'id' => 4,
|
||||
'name' => '⏰ GTD时间管理方法',
|
||||
'desc' => '将收集箱的事务进行判断。要立即执行:进入Q2列表。非立即执行:判断——1.不做(删掉)、2.稍晚再做(进入「稍后做」)、3.可做可不做的任务或可能有用的资源(进入「Mark」列表)。
|
||||
2分钟内能做完贴上2分钟标签(进入「2分钟速战」列表)。2分钟以上做完的事务进入Q3。
|
||||
判断能否一步做完,能进入Q4,不能打上多步标签(进入「项目清单」);或将多步骤任务分解成多个一步做完任务,进入Q4。',
|
||||
'userid' => 1,
|
||||
'dialog_id' => 9,
|
||||
'archived_at' => NULL,
|
||||
'archived_userid' => 0,
|
||||
'created_at' => '2021-07-01 11:43:01',
|
||||
'updated_at' => '2021-07-01 17:04:04',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
4 =>
|
||||
array (
|
||||
'id' => 5,
|
||||
'name' => '💡产品迭代发布',
|
||||
'desc' => '团队真实使用的版本迭代模板,分阶段记录和展示需求设计与发布进度。很清晰,很直观。',
|
||||
'userid' => 1,
|
||||
'dialog_id' => 11,
|
||||
'archived_at' => NULL,
|
||||
'archived_userid' => 0,
|
||||
'created_at' => '2021-07-01 15:33:23',
|
||||
'updated_at' => '2021-07-01 16:09:27',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
5 =>
|
||||
array (
|
||||
'id' => 6,
|
||||
'name' => '🚩 里程碑管理',
|
||||
'desc' => '为一年12个月设置工作里程碑,目标为导向,抓住每个关键节点!',
|
||||
'userid' => 1,
|
||||
'dialog_id' => 13,
|
||||
'archived_at' => NULL,
|
||||
'archived_userid' => 0,
|
||||
'created_at' => '2021-07-01 15:37:06',
|
||||
'updated_at' => '2021-07-01 17:03:29',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
6 =>
|
||||
array (
|
||||
'id' => 7,
|
||||
'name' => '🏢 产品官网项目',
|
||||
'desc' => '设置各小组成员的工作列表,各自领取或领导分配任务,将做好的任务分期归档,方便复盘!',
|
||||
'userid' => 1,
|
||||
'dialog_id' => 15,
|
||||
'archived_at' => NULL,
|
||||
'archived_userid' => 0,
|
||||
'created_at' => '2021-07-01 16:15:28',
|
||||
'updated_at' => '2021-07-01 17:04:46',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
));
|
||||
|
||||
|
||||
}
|
||||
}
|
@ -2,7 +2,6 @@
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use App\Models\Setting;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class SettingsTableSeeder extends Seeder
|
||||
@ -17,7 +16,7 @@ class SettingsTableSeeder extends Seeder
|
||||
{
|
||||
|
||||
|
||||
if (Setting::count() > 0) {
|
||||
if (\DB::table('settings')->count() > 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use App\Models\User;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class UsersTableSeeder extends Seeder
|
||||
@ -17,7 +16,7 @@ class UsersTableSeeder extends Seeder
|
||||
{
|
||||
|
||||
|
||||
if (User::count() > 0) {
|
||||
if (\DB::table('users')->count() > 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
@ -34,15 +33,15 @@ class UsersTableSeeder extends Seeder
|
||||
'encrypt' => 'AJnoOb',
|
||||
'password' => '7d996ac317f1b9db564750ef3b8790fc',
|
||||
'changepass' => 0,
|
||||
'login_num' => 64,
|
||||
'login_num' => 73,
|
||||
'last_ip' => '10.22.22.1',
|
||||
'last_at' => '2021-06-25 18:50:13',
|
||||
'last_at' => '2021-07-01 16:58:16',
|
||||
'line_ip' => '10.22.22.1',
|
||||
'line_at' => '2021-06-25 18:50:13',
|
||||
'task_dialog_id' => 28,
|
||||
'line_at' => '2021-07-01 17:43:48',
|
||||
'task_dialog_id' => 18,
|
||||
'created_ip' => '',
|
||||
'created_at' => '2021-06-02 11:01:14',
|
||||
'updated_at' => '2021-06-25 18:50:28',
|
||||
'updated_at' => '2021-07-01 17:43:48',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
@ -56,15 +55,15 @@ class UsersTableSeeder extends Seeder
|
||||
'encrypt' => '18cZzh',
|
||||
'password' => '7eedd4cbf70da996d21f641bcc6cb412',
|
||||
'changepass' => 0,
|
||||
'login_num' => 58,
|
||||
'login_num' => 63,
|
||||
'last_ip' => '10.22.22.1',
|
||||
'last_at' => '2021-06-25 18:50:51',
|
||||
'last_at' => '2021-07-01 16:57:40',
|
||||
'line_ip' => '10.22.22.1',
|
||||
'line_at' => '2021-06-25 18:50:51',
|
||||
'task_dialog_id' => 28,
|
||||
'line_at' => '2021-07-01 16:57:40',
|
||||
'task_dialog_id' => 16,
|
||||
'created_ip' => '',
|
||||
'created_at' => '2021-06-02 11:01:14',
|
||||
'updated_at' => '2021-06-25 18:51:06',
|
||||
'updated_at' => '2021-07-01 16:58:00',
|
||||
),
|
||||
));
|
||||
|
||||
|
262
database/seeders/WebSocketDialogMsgReadsTableSeeder.php
Normal file
262
database/seeders/WebSocketDialogMsgReadsTableSeeder.php
Normal file
@ -0,0 +1,262 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class WebSocketDialogMsgReadsTableSeeder extends Seeder
|
||||
{
|
||||
|
||||
/**
|
||||
* Auto generated seed file
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
|
||||
|
||||
if (\DB::table('web_socket_dialog_msg_reads')->count() > 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
\DB::table('web_socket_dialog_msg_reads')->insert(array (
|
||||
0 =>
|
||||
array (
|
||||
'id' => 1,
|
||||
'dialog_id' => 1,
|
||||
'msg_id' => 5,
|
||||
'userid' => 1,
|
||||
'after' => 0,
|
||||
'read_at' => '2021-07-01 16:21:28',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'id' => 2,
|
||||
'dialog_id' => 5,
|
||||
'msg_id' => 6,
|
||||
'userid' => 2,
|
||||
'after' => 0,
|
||||
'read_at' => '2021-07-01 16:25:43',
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
'id' => 3,
|
||||
'dialog_id' => 5,
|
||||
'msg_id' => 7,
|
||||
'userid' => 1,
|
||||
'after' => 0,
|
||||
'read_at' => '2021-07-01 16:27:44',
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
'id' => 4,
|
||||
'dialog_id' => 7,
|
||||
'msg_id' => 2,
|
||||
'userid' => 2,
|
||||
'after' => 1,
|
||||
'read_at' => '2021-07-01 16:26:03',
|
||||
),
|
||||
4 =>
|
||||
array (
|
||||
'id' => 5,
|
||||
'dialog_id' => 7,
|
||||
'msg_id' => 8,
|
||||
'userid' => 1,
|
||||
'after' => 0,
|
||||
'read_at' => '2021-07-01 16:27:21',
|
||||
),
|
||||
5 =>
|
||||
array (
|
||||
'id' => 6,
|
||||
'dialog_id' => 7,
|
||||
'msg_id' => 9,
|
||||
'userid' => 1,
|
||||
'after' => 0,
|
||||
'read_at' => '2021-07-01 16:27:21',
|
||||
),
|
||||
6 =>
|
||||
array (
|
||||
'id' => 7,
|
||||
'dialog_id' => 7,
|
||||
'msg_id' => 10,
|
||||
'userid' => 1,
|
||||
'after' => 0,
|
||||
'read_at' => '2021-07-01 16:27:21',
|
||||
),
|
||||
7 =>
|
||||
array (
|
||||
'id' => 8,
|
||||
'dialog_id' => 7,
|
||||
'msg_id' => 11,
|
||||
'userid' => 2,
|
||||
'after' => 0,
|
||||
'read_at' => '2021-07-01 16:32:00',
|
||||
),
|
||||
8 =>
|
||||
array (
|
||||
'id' => 9,
|
||||
'dialog_id' => 5,
|
||||
'msg_id' => 12,
|
||||
'userid' => 2,
|
||||
'after' => 0,
|
||||
'read_at' => '2021-07-01 16:31:43',
|
||||
),
|
||||
9 =>
|
||||
array (
|
||||
'id' => 10,
|
||||
'dialog_id' => 1,
|
||||
'msg_id' => 13,
|
||||
'userid' => 2,
|
||||
'after' => 0,
|
||||
'read_at' => '2021-07-01 16:31:43',
|
||||
),
|
||||
10 =>
|
||||
array (
|
||||
'id' => 11,
|
||||
'dialog_id' => 11,
|
||||
'msg_id' => 14,
|
||||
'userid' => 2,
|
||||
'after' => 0,
|
||||
'read_at' => '2021-07-01 16:31:37',
|
||||
),
|
||||
11 =>
|
||||
array (
|
||||
'id' => 12,
|
||||
'dialog_id' => 11,
|
||||
'msg_id' => 4,
|
||||
'userid' => 2,
|
||||
'after' => 1,
|
||||
'read_at' => '2021-07-01 16:31:37',
|
||||
),
|
||||
12 =>
|
||||
array (
|
||||
'id' => 13,
|
||||
'dialog_id' => 11,
|
||||
'msg_id' => 15,
|
||||
'userid' => 1,
|
||||
'after' => 0,
|
||||
'read_at' => NULL,
|
||||
),
|
||||
13 =>
|
||||
array (
|
||||
'id' => 14,
|
||||
'dialog_id' => 5,
|
||||
'msg_id' => 16,
|
||||
'userid' => 1,
|
||||
'after' => 0,
|
||||
'read_at' => NULL,
|
||||
),
|
||||
14 =>
|
||||
array (
|
||||
'id' => 15,
|
||||
'dialog_id' => 7,
|
||||
'msg_id' => 17,
|
||||
'userid' => 1,
|
||||
'after' => 0,
|
||||
'read_at' => NULL,
|
||||
),
|
||||
15 =>
|
||||
array (
|
||||
'id' => 16,
|
||||
'dialog_id' => 7,
|
||||
'msg_id' => 18,
|
||||
'userid' => 1,
|
||||
'after' => 0,
|
||||
'read_at' => NULL,
|
||||
),
|
||||
16 =>
|
||||
array (
|
||||
'id' => 17,
|
||||
'dialog_id' => 7,
|
||||
'msg_id' => 19,
|
||||
'userid' => 1,
|
||||
'after' => 0,
|
||||
'read_at' => NULL,
|
||||
),
|
||||
17 =>
|
||||
array (
|
||||
'id' => 18,
|
||||
'dialog_id' => 15,
|
||||
'msg_id' => 20,
|
||||
'userid' => 2,
|
||||
'after' => 0,
|
||||
'read_at' => '2021-07-01 16:37:34',
|
||||
),
|
||||
18 =>
|
||||
array (
|
||||
'id' => 19,
|
||||
'dialog_id' => 15,
|
||||
'msg_id' => 21,
|
||||
'userid' => 1,
|
||||
'after' => 0,
|
||||
'read_at' => '2021-07-01 17:12:23',
|
||||
),
|
||||
19 =>
|
||||
array (
|
||||
'id' => 20,
|
||||
'dialog_id' => 16,
|
||||
'msg_id' => 22,
|
||||
'userid' => 2,
|
||||
'after' => 0,
|
||||
'read_at' => '2021-07-01 16:58:00',
|
||||
),
|
||||
20 =>
|
||||
array (
|
||||
'id' => 21,
|
||||
'dialog_id' => 17,
|
||||
'msg_id' => 23,
|
||||
'userid' => 2,
|
||||
'after' => 0,
|
||||
'read_at' => '2021-07-01 16:57:54',
|
||||
),
|
||||
21 =>
|
||||
array (
|
||||
'id' => 22,
|
||||
'dialog_id' => 18,
|
||||
'msg_id' => 24,
|
||||
'userid' => 2,
|
||||
'after' => 0,
|
||||
'read_at' => '2021-07-01 16:57:46',
|
||||
),
|
||||
22 =>
|
||||
array (
|
||||
'id' => 23,
|
||||
'dialog_id' => 18,
|
||||
'msg_id' => 25,
|
||||
'userid' => 1,
|
||||
'after' => 0,
|
||||
'read_at' => '2021-07-01 17:12:20',
|
||||
),
|
||||
23 =>
|
||||
array (
|
||||
'id' => 24,
|
||||
'dialog_id' => 17,
|
||||
'msg_id' => 26,
|
||||
'userid' => 1,
|
||||
'after' => 0,
|
||||
'read_at' => '2021-07-01 16:59:43',
|
||||
),
|
||||
24 =>
|
||||
array (
|
||||
'id' => 25,
|
||||
'dialog_id' => 16,
|
||||
'msg_id' => 27,
|
||||
'userid' => 1,
|
||||
'after' => 0,
|
||||
'read_at' => '2021-07-01 16:59:42',
|
||||
),
|
||||
25 =>
|
||||
array (
|
||||
'id' => 26,
|
||||
'dialog_id' => 1,
|
||||
'msg_id' => 28,
|
||||
'userid' => 2,
|
||||
'after' => 0,
|
||||
'read_at' => NULL,
|
||||
),
|
||||
));
|
||||
|
||||
|
||||
}
|
||||
}
|
364
database/seeders/WebSocketDialogMsgsTableSeeder.php
Normal file
364
database/seeders/WebSocketDialogMsgsTableSeeder.php
Normal file
@ -0,0 +1,364 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class WebSocketDialogMsgsTableSeeder extends Seeder
|
||||
{
|
||||
|
||||
/**
|
||||
* Auto generated seed file
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
|
||||
|
||||
if (\DB::table('web_socket_dialog_msgs')->count() > 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
\DB::table('web_socket_dialog_msgs')->insert(array (
|
||||
0 =>
|
||||
array (
|
||||
'id' => 1,
|
||||
'dialog_id' => 9,
|
||||
'userid' => 1,
|
||||
'type' => 'text',
|
||||
'msg' => '{"text":"\\u5c06\\u6536\\u96c6\\u7bb1\\u7684\\u4e8b\\u52a1\\u8fdb\\u884c\\u5224\\u65ad"}',
|
||||
'read' => 0,
|
||||
'send' => 0,
|
||||
'created_at' => '2021-07-01 14:02:57',
|
||||
'updated_at' => '2021-07-01 14:02:57',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'id' => 2,
|
||||
'dialog_id' => 7,
|
||||
'userid' => 1,
|
||||
'type' => 'text',
|
||||
'msg' => '{"text":"\\u8fd9\\u4e2a\\u6536\\u85cf\\u771f\\u5fc3\\u4e0d\\u9519\\u3002\\u4ee5\\u540e\\u53ef\\u4ee5\\u4e0d\\u7528\\u518d\\u53bb\\u81ea\\u5df1\\u627e\\u4e86\\u3002"}',
|
||||
'read' => 1,
|
||||
'send' => 1,
|
||||
'created_at' => '2021-07-01 15:43:24',
|
||||
'updated_at' => '2021-07-01 16:26:03',
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
'id' => 3,
|
||||
'dialog_id' => 13,
|
||||
'userid' => 1,
|
||||
'type' => 'text',
|
||||
'msg' => '{"text":"\\u5c06\\u5c0f\\u7ec4\\u8fd9\\u534a\\u5e74\\u7684\\u5de5\\u4f5c\\u76ee\\u6807\\u62c6\\u89e3\\uff0c\\u4ee5\\u4fbf\\u5de5\\u4f5c\\u66f4\\u80fd\\u6709\\u5e8f\\u8fdb\\u884c"}',
|
||||
'read' => 0,
|
||||
'send' => 0,
|
||||
'created_at' => '2021-07-01 15:44:09',
|
||||
'updated_at' => '2021-07-01 15:44:09',
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
'id' => 4,
|
||||
'dialog_id' => 11,
|
||||
'userid' => 1,
|
||||
'type' => 'text',
|
||||
'msg' => '{"text":"\\u5404\\u6709\\u5404\\u7684\\u9700\\u6c42\\uff0c\\u4e00\\u76ee\\u4e86\\u7136\\uff0c\\u4e0d\\u9519\\uff01"}',
|
||||
'read' => 1,
|
||||
'send' => 1,
|
||||
'created_at' => '2021-07-01 15:44:29',
|
||||
'updated_at' => '2021-07-01 16:31:37',
|
||||
),
|
||||
4 =>
|
||||
array (
|
||||
'id' => 5,
|
||||
'dialog_id' => 1,
|
||||
'userid' => 2,
|
||||
'type' => 'text',
|
||||
'msg' => '{"text":"\\u5df2\\u6536\\u5230\\u4fe1\\u606f\\uff01"}',
|
||||
'read' => 1,
|
||||
'send' => 1,
|
||||
'created_at' => '2021-07-01 16:12:28',
|
||||
'updated_at' => '2021-07-01 16:21:28',
|
||||
),
|
||||
5 =>
|
||||
array (
|
||||
'id' => 6,
|
||||
'dialog_id' => 5,
|
||||
'userid' => 1,
|
||||
'type' => 'text',
|
||||
'msg' => '{"text":"test\\uff0c\\u6ce8\\u610f\\u770b\\u4e00\\u4e0b\\u4f60\\u7684\\u4efb\\u52a1\\u3002"}',
|
||||
'read' => 1,
|
||||
'send' => 1,
|
||||
'created_at' => '2021-07-01 16:25:06',
|
||||
'updated_at' => '2021-07-01 16:25:43',
|
||||
),
|
||||
6 =>
|
||||
array (
|
||||
'id' => 7,
|
||||
'dialog_id' => 5,
|
||||
'userid' => 2,
|
||||
'type' => 'text',
|
||||
'msg' => '{"text":"\\u597d\\u7684\\uff01\\u4e0d\\u597d\\u610f\\u601d\\uff0c\\u521a\\u521a\\u5728\\u5fd9\\uff0c\\u6ca1\\u6ce8\\u610f\\u770b\\u6d88\\u606f\\u3002"}',
|
||||
'read' => 1,
|
||||
'send' => 1,
|
||||
'created_at' => '2021-07-01 16:26:01',
|
||||
'updated_at' => '2021-07-01 16:27:44',
|
||||
),
|
||||
7 =>
|
||||
array (
|
||||
'id' => 8,
|
||||
'dialog_id' => 7,
|
||||
'userid' => 2,
|
||||
'type' => 'text',
|
||||
'msg' => '{"text":"\\u54c8\\u54c8"}',
|
||||
'read' => 1,
|
||||
'send' => 1,
|
||||
'created_at' => '2021-07-01 16:26:34',
|
||||
'updated_at' => '2021-07-01 16:27:21',
|
||||
),
|
||||
8 =>
|
||||
array (
|
||||
'id' => 9,
|
||||
'dialog_id' => 7,
|
||||
'userid' => 2,
|
||||
'type' => 'text',
|
||||
'msg' => '{"text":"\\u4e0d\\u9519\\u4e0d\\u9519\\u3002\\u771f\\u7684\\u628a\\u5bb6\\u5e95\\u90fd\\u642c\\u51fa\\u6765\\u4e86\\u5440"}',
|
||||
'read' => 1,
|
||||
'send' => 1,
|
||||
'created_at' => '2021-07-01 16:26:35',
|
||||
'updated_at' => '2021-07-01 16:27:21',
|
||||
),
|
||||
9 =>
|
||||
array (
|
||||
'id' => 10,
|
||||
'dialog_id' => 7,
|
||||
'userid' => 2,
|
||||
'type' => 'text',
|
||||
'msg' => '{"text":"\\u6211\\u4eec\\u4e5f\\u4e00\\u8d77\\u628a\\u81ea\\u5df1\\u7684\\u6536\\u85cf\\u90fd\\u8d21\\u732e\\u51fa\\u6765\\u5427"}',
|
||||
'read' => 1,
|
||||
'send' => 1,
|
||||
'created_at' => '2021-07-01 16:26:59',
|
||||
'updated_at' => '2021-07-01 16:27:21',
|
||||
),
|
||||
10 =>
|
||||
array (
|
||||
'id' => 11,
|
||||
'dialog_id' => 7,
|
||||
'userid' => 1,
|
||||
'type' => 'text',
|
||||
'msg' => '{"text":"\\u5bf9\\u7684\\u3002\\u7fa4\\u4f17\\u7684\\u529b\\u91cf\\u6700\\u5f3a\\u5927\\u4e86\\ud83d\\udc4d\\ud83c\\udffb"}',
|
||||
'read' => 1,
|
||||
'send' => 1,
|
||||
'created_at' => '2021-07-01 16:27:40',
|
||||
'updated_at' => '2021-07-01 16:32:00',
|
||||
),
|
||||
11 =>
|
||||
array (
|
||||
'id' => 12,
|
||||
'dialog_id' => 5,
|
||||
'userid' => 1,
|
||||
'type' => 'text',
|
||||
'msg' => '{"text":"\\ud83d\\ude1c\\ud83d\\ude1c\\ud83e\\udd1c"}',
|
||||
'read' => 1,
|
||||
'send' => 1,
|
||||
'created_at' => '2021-07-01 16:28:24',
|
||||
'updated_at' => '2021-07-01 16:31:43',
|
||||
),
|
||||
12 =>
|
||||
array (
|
||||
'id' => 13,
|
||||
'dialog_id' => 1,
|
||||
'userid' => 1,
|
||||
'type' => 'text',
|
||||
'msg' => '{"text":"OK"}',
|
||||
'read' => 1,
|
||||
'send' => 1,
|
||||
'created_at' => '2021-07-01 16:29:04',
|
||||
'updated_at' => '2021-07-01 16:31:43',
|
||||
),
|
||||
13 =>
|
||||
array (
|
||||
'id' => 14,
|
||||
'dialog_id' => 11,
|
||||
'userid' => 1,
|
||||
'type' => 'text',
|
||||
'msg' => '{"text":"test\\uff0c\\u6ce8\\u610f\\u8ddf\\u8fdb\\u9879\\u76ee\\u8fdb\\u5ea6\\uff01"}',
|
||||
'read' => 1,
|
||||
'send' => 1,
|
||||
'created_at' => '2021-07-01 16:30:54',
|
||||
'updated_at' => '2021-07-01 16:31:37',
|
||||
),
|
||||
14 =>
|
||||
array (
|
||||
'id' => 15,
|
||||
'dialog_id' => 11,
|
||||
'userid' => 2,
|
||||
'type' => 'text',
|
||||
'msg' => '{"text":"OK"}',
|
||||
'read' => 0,
|
||||
'send' => 1,
|
||||
'created_at' => '2021-07-01 16:31:40',
|
||||
'updated_at' => '2021-07-01 16:31:40',
|
||||
),
|
||||
15 =>
|
||||
array (
|
||||
'id' => 16,
|
||||
'dialog_id' => 5,
|
||||
'userid' => 2,
|
||||
'type' => 'text',
|
||||
'msg' => '{"text":"\\u5927\\u5bb6\\u4e00\\u8d77\\u52aa\\u529b\\u5440\\uff01\\uff01\\uff01\\uff01\\uff01\\uff01"}',
|
||||
'read' => 0,
|
||||
'send' => 1,
|
||||
'created_at' => '2021-07-01 16:31:58',
|
||||
'updated_at' => '2021-07-01 16:31:58',
|
||||
),
|
||||
16 =>
|
||||
array (
|
||||
'id' => 17,
|
||||
'dialog_id' => 7,
|
||||
'userid' => 2,
|
||||
'type' => 'text',
|
||||
'msg' => '{"text":"\\u54c8\\u54c8\\u2026\\u2026"}',
|
||||
'read' => 0,
|
||||
'send' => 1,
|
||||
'created_at' => '2021-07-01 16:32:08',
|
||||
'updated_at' => '2021-07-01 16:32:08',
|
||||
),
|
||||
17 =>
|
||||
array (
|
||||
'id' => 18,
|
||||
'dialog_id' => 7,
|
||||
'userid' => 2,
|
||||
'type' => 'text',
|
||||
'msg' => '{"text":"\\u77ac\\u95f4\\u611f\\u89c9\\u81ea\\u5df1\\u68d2\\u68d2\\u54d2"}',
|
||||
'read' => 0,
|
||||
'send' => 1,
|
||||
'created_at' => '2021-07-01 16:32:24',
|
||||
'updated_at' => '2021-07-01 16:32:24',
|
||||
),
|
||||
18 =>
|
||||
array (
|
||||
'id' => 19,
|
||||
'dialog_id' => 7,
|
||||
'userid' => 2,
|
||||
'type' => 'text',
|
||||
'msg' => '{"text":"\\ud83d\\ude4c\\ud83d\\ude4c\\ud83d\\ude4c\\ud83d\\ude4c\\u270a\\u270a\\u270a\\u270a"}',
|
||||
'read' => 0,
|
||||
'send' => 1,
|
||||
'created_at' => '2021-07-01 16:32:50',
|
||||
'updated_at' => '2021-07-01 16:32:50',
|
||||
),
|
||||
19 =>
|
||||
array (
|
||||
'id' => 20,
|
||||
'dialog_id' => 15,
|
||||
'userid' => 1,
|
||||
'type' => 'text',
|
||||
'msg' => '{"text":"\\u5927\\u5bb6\\u518d\\u52a0\\u628a\\u6cb9\\uff0c\\u4e89\\u53d6\\u65e9\\u65e5\\u5b8c\\u6210\\u4efb\\u52a1\\u3002"}',
|
||||
'read' => 1,
|
||||
'send' => 1,
|
||||
'created_at' => '2021-07-01 16:36:31',
|
||||
'updated_at' => '2021-07-01 16:37:34',
|
||||
),
|
||||
20 =>
|
||||
array (
|
||||
'id' => 21,
|
||||
'dialog_id' => 15,
|
||||
'userid' => 2,
|
||||
'type' => 'text',
|
||||
'msg' => '{"text":"\\ud83e\\udd14\\ud83e\\udd14\\ud83e\\udd14\\ud83e\\udd14\\ud83e\\udd14\\ud83e\\udd14"}',
|
||||
'read' => 1,
|
||||
'send' => 1,
|
||||
'created_at' => '2021-07-01 16:37:59',
|
||||
'updated_at' => '2021-07-01 17:12:23',
|
||||
),
|
||||
21 =>
|
||||
array (
|
||||
'id' => 22,
|
||||
'dialog_id' => 16,
|
||||
'userid' => 1,
|
||||
'type' => 'text',
|
||||
'msg' => '{"text":"\\u5e0c\\u671b\\u80fd\\u52a0\\u628a\\u5c3d\\u628a\\u8fd9\\u4e9b\\u95ee\\u9898\\u90fd\\u89e3\\u51b3\\u4e86"}',
|
||||
'read' => 1,
|
||||
'send' => 1,
|
||||
'created_at' => '2021-07-01 16:56:05',
|
||||
'updated_at' => '2021-07-01 16:58:00',
|
||||
),
|
||||
22 =>
|
||||
array (
|
||||
'id' => 23,
|
||||
'dialog_id' => 17,
|
||||
'userid' => 1,
|
||||
'type' => 'text',
|
||||
'msg' => '{"text":"\\u521d\\u7a3f\\u5927\\u6982\\u4ec0\\u4e48\\u65f6\\u5019\\u53ef\\u4ee5\\u51fa\\u6765\\u5462\\uff1f"}',
|
||||
'read' => 1,
|
||||
'send' => 1,
|
||||
'created_at' => '2021-07-01 16:56:35',
|
||||
'updated_at' => '2021-07-01 16:57:54',
|
||||
),
|
||||
23 =>
|
||||
array (
|
||||
'id' => 24,
|
||||
'dialog_id' => 18,
|
||||
'userid' => 1,
|
||||
'type' => 'text',
|
||||
'msg' => '{"text":"\\u8fd9\\u4e2a\\u7f51\\u7ad9\\u7684\\u8d44\\u6e90\\u771f\\u5fc3\\u4e0d\\u9519"}',
|
||||
'read' => 1,
|
||||
'send' => 1,
|
||||
'created_at' => '2021-07-01 16:56:57',
|
||||
'updated_at' => '2021-07-01 16:57:46',
|
||||
),
|
||||
24 =>
|
||||
array (
|
||||
'id' => 25,
|
||||
'dialog_id' => 18,
|
||||
'userid' => 2,
|
||||
'type' => 'text',
|
||||
'msg' => '{"text":"\\u6211\\u4e5f\\u662f\\u8fd9\\u4e48\\u8ba4\\u4e3a\\u7684"}',
|
||||
'read' => 1,
|
||||
'send' => 1,
|
||||
'created_at' => '2021-07-01 16:57:52',
|
||||
'updated_at' => '2021-07-01 17:12:20',
|
||||
),
|
||||
25 =>
|
||||
array (
|
||||
'id' => 26,
|
||||
'dialog_id' => 17,
|
||||
'userid' => 2,
|
||||
'type' => 'text',
|
||||
'msg' => '{"text":"\\u660e\\u5929"}',
|
||||
'read' => 1,
|
||||
'send' => 1,
|
||||
'created_at' => '2021-07-01 16:57:58',
|
||||
'updated_at' => '2021-07-01 16:59:43',
|
||||
),
|
||||
26 =>
|
||||
array (
|
||||
'id' => 27,
|
||||
'dialog_id' => 16,
|
||||
'userid' => 2,
|
||||
'type' => 'text',
|
||||
'msg' => '{"text":"\\u597d\\u7684"}',
|
||||
'read' => 1,
|
||||
'send' => 1,
|
||||
'created_at' => '2021-07-01 16:58:02',
|
||||
'updated_at' => '2021-07-01 16:59:42',
|
||||
),
|
||||
27 =>
|
||||
array (
|
||||
'id' => 28,
|
||||
'dialog_id' => 1,
|
||||
'userid' => 1,
|
||||
'type' => 'text',
|
||||
'msg' => '{"text":"\\u5173\\u6ce8\\u4e00\\u4e0b\\u6d88\\u606f\\u54c8"}',
|
||||
'read' => 0,
|
||||
'send' => 1,
|
||||
'created_at' => '2021-07-01 17:12:52',
|
||||
'updated_at' => '2021-07-01 17:12:52',
|
||||
),
|
||||
));
|
||||
|
||||
|
||||
}
|
||||
}
|
236
database/seeders/WebSocketDialogUsersTableSeeder.php
Normal file
236
database/seeders/WebSocketDialogUsersTableSeeder.php
Normal file
@ -0,0 +1,236 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class WebSocketDialogUsersTableSeeder extends Seeder
|
||||
{
|
||||
|
||||
/**
|
||||
* Auto generated seed file
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
|
||||
|
||||
if (\DB::table('web_socket_dialog_users')->count() > 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
\DB::table('web_socket_dialog_users')->insert(array (
|
||||
0 =>
|
||||
array (
|
||||
'id' => 1,
|
||||
'dialog_id' => 1,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 10:46:37',
|
||||
'updated_at' => '2021-07-01 10:46:37',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'id' => 2,
|
||||
'dialog_id' => 1,
|
||||
'userid' => 2,
|
||||
'created_at' => '2021-07-01 10:46:37',
|
||||
'updated_at' => '2021-07-01 10:46:37',
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
'id' => 3,
|
||||
'dialog_id' => 2,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 10:46:47',
|
||||
'updated_at' => '2021-07-01 10:46:47',
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
'id' => 4,
|
||||
'dialog_id' => 3,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 10:46:47',
|
||||
'updated_at' => '2021-07-01 10:46:47',
|
||||
),
|
||||
4 =>
|
||||
array (
|
||||
'id' => 5,
|
||||
'dialog_id' => 4,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 10:47:45',
|
||||
'updated_at' => '2021-07-01 10:47:45',
|
||||
),
|
||||
5 =>
|
||||
array (
|
||||
'id' => 6,
|
||||
'dialog_id' => 5,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 10:47:45',
|
||||
'updated_at' => '2021-07-01 10:47:45',
|
||||
),
|
||||
6 =>
|
||||
array (
|
||||
'id' => 7,
|
||||
'dialog_id' => 6,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 11:02:57',
|
||||
'updated_at' => '2021-07-01 11:02:57',
|
||||
),
|
||||
7 =>
|
||||
array (
|
||||
'id' => 8,
|
||||
'dialog_id' => 7,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 11:02:57',
|
||||
'updated_at' => '2021-07-01 11:02:57',
|
||||
),
|
||||
8 =>
|
||||
array (
|
||||
'id' => 9,
|
||||
'dialog_id' => 8,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 11:43:01',
|
||||
'updated_at' => '2021-07-01 11:43:01',
|
||||
),
|
||||
9 =>
|
||||
array (
|
||||
'id' => 10,
|
||||
'dialog_id' => 9,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 11:43:01',
|
||||
'updated_at' => '2021-07-01 11:43:01',
|
||||
),
|
||||
10 =>
|
||||
array (
|
||||
'id' => 11,
|
||||
'dialog_id' => 10,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 15:33:23',
|
||||
'updated_at' => '2021-07-01 15:33:23',
|
||||
),
|
||||
11 =>
|
||||
array (
|
||||
'id' => 12,
|
||||
'dialog_id' => 11,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 15:33:23',
|
||||
'updated_at' => '2021-07-01 15:33:23',
|
||||
),
|
||||
12 =>
|
||||
array (
|
||||
'id' => 13,
|
||||
'dialog_id' => 12,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 15:37:06',
|
||||
'updated_at' => '2021-07-01 15:37:06',
|
||||
),
|
||||
13 =>
|
||||
array (
|
||||
'id' => 14,
|
||||
'dialog_id' => 13,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 15:37:06',
|
||||
'updated_at' => '2021-07-01 15:37:06',
|
||||
),
|
||||
14 =>
|
||||
array (
|
||||
'id' => 15,
|
||||
'dialog_id' => 14,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 16:15:28',
|
||||
'updated_at' => '2021-07-01 16:15:28',
|
||||
),
|
||||
15 =>
|
||||
array (
|
||||
'id' => 16,
|
||||
'dialog_id' => 15,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 16:15:28',
|
||||
'updated_at' => '2021-07-01 16:15:28',
|
||||
),
|
||||
16 =>
|
||||
array (
|
||||
'id' => 17,
|
||||
'dialog_id' => 7,
|
||||
'userid' => 2,
|
||||
'created_at' => '2021-07-01 16:22:42',
|
||||
'updated_at' => '2021-07-01 16:22:42',
|
||||
),
|
||||
17 =>
|
||||
array (
|
||||
'id' => 18,
|
||||
'dialog_id' => 5,
|
||||
'userid' => 2,
|
||||
'created_at' => '2021-07-01 16:23:15',
|
||||
'updated_at' => '2021-07-01 16:23:15',
|
||||
),
|
||||
18 =>
|
||||
array (
|
||||
'id' => 19,
|
||||
'dialog_id' => 15,
|
||||
'userid' => 2,
|
||||
'created_at' => '2021-07-01 16:23:40',
|
||||
'updated_at' => '2021-07-01 16:23:40',
|
||||
),
|
||||
19 =>
|
||||
array (
|
||||
'id' => 20,
|
||||
'dialog_id' => 11,
|
||||
'userid' => 2,
|
||||
'created_at' => '2021-07-01 16:29:38',
|
||||
'updated_at' => '2021-07-01 16:29:38',
|
||||
),
|
||||
20 =>
|
||||
array (
|
||||
'id' => 21,
|
||||
'dialog_id' => 16,
|
||||
'userid' => 2,
|
||||
'created_at' => '2021-07-01 16:56:05',
|
||||
'updated_at' => '2021-07-01 16:56:05',
|
||||
),
|
||||
21 =>
|
||||
array (
|
||||
'id' => 22,
|
||||
'dialog_id' => 16,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 16:56:05',
|
||||
'updated_at' => '2021-07-01 16:56:05',
|
||||
),
|
||||
22 =>
|
||||
array (
|
||||
'id' => 23,
|
||||
'dialog_id' => 17,
|
||||
'userid' => 2,
|
||||
'created_at' => '2021-07-01 16:56:35',
|
||||
'updated_at' => '2021-07-01 16:56:35',
|
||||
),
|
||||
23 =>
|
||||
array (
|
||||
'id' => 24,
|
||||
'dialog_id' => 17,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 16:56:35',
|
||||
'updated_at' => '2021-07-01 16:56:35',
|
||||
),
|
||||
24 =>
|
||||
array (
|
||||
'id' => 25,
|
||||
'dialog_id' => 18,
|
||||
'userid' => 2,
|
||||
'created_at' => '2021-07-01 16:56:57',
|
||||
'updated_at' => '2021-07-01 16:56:57',
|
||||
),
|
||||
25 =>
|
||||
array (
|
||||
'id' => 26,
|
||||
'dialog_id' => 18,
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 16:56:57',
|
||||
'updated_at' => '2021-07-01 16:56:57',
|
||||
),
|
||||
));
|
||||
|
||||
|
||||
}
|
||||
}
|
226
database/seeders/WebSocketDialogsTableSeeder.php
Normal file
226
database/seeders/WebSocketDialogsTableSeeder.php
Normal file
@ -0,0 +1,226 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class WebSocketDialogsTableSeeder extends Seeder
|
||||
{
|
||||
|
||||
/**
|
||||
* Auto generated seed file
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
|
||||
|
||||
if (\DB::table('web_socket_dialogs')->count() > 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
\DB::table('web_socket_dialogs')->insert(array (
|
||||
0 =>
|
||||
array (
|
||||
'id' => 1,
|
||||
'type' => 'user',
|
||||
'group_type' => '',
|
||||
'name' => '',
|
||||
'last_at' => '2021-07-01 17:12:52',
|
||||
'created_at' => '2021-07-01 10:46:37',
|
||||
'updated_at' => '2021-07-01 17:12:52',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'id' => 2,
|
||||
'type' => 'group',
|
||||
'group_type' => 'project',
|
||||
'name' => '',
|
||||
'last_at' => NULL,
|
||||
'created_at' => '2021-07-01 10:46:47',
|
||||
'updated_at' => '2021-07-01 17:31:03',
|
||||
'deleted_at' => '2021-07-01 17:31:03',
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
'id' => 3,
|
||||
'type' => 'group',
|
||||
'group_type' => 'project',
|
||||
'name' => '',
|
||||
'last_at' => NULL,
|
||||
'created_at' => '2021-07-01 10:46:47',
|
||||
'updated_at' => '2021-07-01 10:46:55',
|
||||
'deleted_at' => '2021-07-01 10:46:55',
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
'id' => 4,
|
||||
'type' => 'group',
|
||||
'group_type' => 'project',
|
||||
'name' => '',
|
||||
'last_at' => NULL,
|
||||
'created_at' => '2021-07-01 10:47:45',
|
||||
'updated_at' => '2021-07-01 17:30:05',
|
||||
'deleted_at' => '2021-07-01 17:30:05',
|
||||
),
|
||||
4 =>
|
||||
array (
|
||||
'id' => 5,
|
||||
'type' => 'group',
|
||||
'group_type' => 'project',
|
||||
'name' => '',
|
||||
'last_at' => '2021-07-01 16:31:58',
|
||||
'created_at' => '2021-07-01 10:47:45',
|
||||
'updated_at' => '2021-07-01 16:31:58',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
5 =>
|
||||
array (
|
||||
'id' => 6,
|
||||
'type' => 'group',
|
||||
'group_type' => 'project',
|
||||
'name' => '',
|
||||
'last_at' => NULL,
|
||||
'created_at' => '2021-07-01 11:02:57',
|
||||
'updated_at' => '2021-07-01 17:31:28',
|
||||
'deleted_at' => '2021-07-01 17:31:28',
|
||||
),
|
||||
6 =>
|
||||
array (
|
||||
'id' => 7,
|
||||
'type' => 'group',
|
||||
'group_type' => 'project',
|
||||
'name' => '',
|
||||
'last_at' => '2021-07-01 16:32:50',
|
||||
'created_at' => '2021-07-01 11:02:57',
|
||||
'updated_at' => '2021-07-01 16:32:50',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
7 =>
|
||||
array (
|
||||
'id' => 8,
|
||||
'type' => 'group',
|
||||
'group_type' => 'project',
|
||||
'name' => '',
|
||||
'last_at' => NULL,
|
||||
'created_at' => '2021-07-01 11:43:01',
|
||||
'updated_at' => '2021-07-01 17:31:28',
|
||||
'deleted_at' => '2021-07-01 17:31:28',
|
||||
),
|
||||
8 =>
|
||||
array (
|
||||
'id' => 9,
|
||||
'type' => 'group',
|
||||
'group_type' => 'project',
|
||||
'name' => '',
|
||||
'last_at' => '2021-07-01 14:02:57',
|
||||
'created_at' => '2021-07-01 11:43:01',
|
||||
'updated_at' => '2021-07-01 14:02:57',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
9 =>
|
||||
array (
|
||||
'id' => 10,
|
||||
'type' => 'group',
|
||||
'group_type' => 'project',
|
||||
'name' => '',
|
||||
'last_at' => NULL,
|
||||
'created_at' => '2021-07-01 15:33:23',
|
||||
'updated_at' => '2021-07-01 17:31:28',
|
||||
'deleted_at' => '2021-07-01 17:31:28',
|
||||
),
|
||||
10 =>
|
||||
array (
|
||||
'id' => 11,
|
||||
'type' => 'group',
|
||||
'group_type' => 'project',
|
||||
'name' => '',
|
||||
'last_at' => '2021-07-01 16:31:40',
|
||||
'created_at' => '2021-07-01 15:33:23',
|
||||
'updated_at' => '2021-07-01 16:31:40',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
11 =>
|
||||
array (
|
||||
'id' => 12,
|
||||
'type' => 'group',
|
||||
'group_type' => 'project',
|
||||
'name' => '',
|
||||
'last_at' => NULL,
|
||||
'created_at' => '2021-07-01 15:37:06',
|
||||
'updated_at' => '2021-07-01 17:31:28',
|
||||
'deleted_at' => '2021-07-01 17:31:28',
|
||||
),
|
||||
12 =>
|
||||
array (
|
||||
'id' => 13,
|
||||
'type' => 'group',
|
||||
'group_type' => 'project',
|
||||
'name' => '',
|
||||
'last_at' => '2021-07-01 15:44:09',
|
||||
'created_at' => '2021-07-01 15:37:06',
|
||||
'updated_at' => '2021-07-01 15:44:09',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
13 =>
|
||||
array (
|
||||
'id' => 14,
|
||||
'type' => 'group',
|
||||
'group_type' => 'project',
|
||||
'name' => '',
|
||||
'last_at' => NULL,
|
||||
'created_at' => '2021-07-01 16:15:28',
|
||||
'updated_at' => '2021-07-01 17:31:28',
|
||||
'deleted_at' => '2021-07-01 17:31:28',
|
||||
),
|
||||
14 =>
|
||||
array (
|
||||
'id' => 15,
|
||||
'type' => 'group',
|
||||
'group_type' => 'project',
|
||||
'name' => '',
|
||||
'last_at' => '2021-07-01 16:37:59',
|
||||
'created_at' => '2021-07-01 16:15:28',
|
||||
'updated_at' => '2021-07-01 16:37:59',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
15 =>
|
||||
array (
|
||||
'id' => 16,
|
||||
'type' => 'group',
|
||||
'group_type' => 'task',
|
||||
'name' => '',
|
||||
'last_at' => '2021-07-01 16:58:02',
|
||||
'created_at' => '2021-07-01 16:56:05',
|
||||
'updated_at' => '2021-07-01 16:58:02',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
16 =>
|
||||
array (
|
||||
'id' => 17,
|
||||
'type' => 'group',
|
||||
'group_type' => 'task',
|
||||
'name' => '',
|
||||
'last_at' => '2021-07-01 16:57:58',
|
||||
'created_at' => '2021-07-01 16:56:35',
|
||||
'updated_at' => '2021-07-01 16:57:58',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
17 =>
|
||||
array (
|
||||
'id' => 18,
|
||||
'type' => 'group',
|
||||
'group_type' => 'task',
|
||||
'name' => '',
|
||||
'last_at' => '2021-07-01 16:57:52',
|
||||
'created_at' => '2021-07-01 16:56:57',
|
||||
'updated_at' => '2021-07-01 16:57:52',
|
||||
'deleted_at' => NULL,
|
||||
),
|
||||
));
|
||||
|
||||
|
||||
}
|
||||
}
|
58
database/seeders/WebSocketTmpMsgsTableSeeder.php
Normal file
58
database/seeders/WebSocketTmpMsgsTableSeeder.php
Normal file
@ -0,0 +1,58 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class WebSocketTmpMsgsTableSeeder extends Seeder
|
||||
{
|
||||
|
||||
/**
|
||||
* Auto generated seed file
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
|
||||
|
||||
if (\DB::table('web_socket_tmp_msgs')->count() > 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
\DB::table('web_socket_tmp_msgs')->insert(array (
|
||||
0 =>
|
||||
array (
|
||||
'id' => 17,
|
||||
'md5' => '4144a68494b6e7f331e2aca92351c3c5',
|
||||
'msg' => '{"type":"dialog","mode":"update","data":{"id":25,"dialog_id":18,"userid":2,"type":"text","msg":{"text":"\\u6211\\u4e5f\\u662f\\u8fd9\\u4e48\\u8ba4\\u4e3a\\u7684"},"read":1,"send":1,"created_at":"2021-07-01 16:57:52","percentage":100}}',
|
||||
'send' => 0,
|
||||
'create_id' => 2,
|
||||
'created_at' => '2021-07-01 17:12:20',
|
||||
'updated_at' => '2021-07-01 17:12:20',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'id' => 18,
|
||||
'md5' => '9804e72c2a7010a6928d602e04cf27e1',
|
||||
'msg' => '{"type":"dialog","mode":"update","data":{"id":21,"dialog_id":15,"userid":2,"type":"text","msg":{"text":"\\ud83e\\udd14\\ud83e\\udd14\\ud83e\\udd14\\ud83e\\udd14\\ud83e\\udd14\\ud83e\\udd14"},"read":1,"send":1,"created_at":"2021-07-01 16:37:59","percentage":100}}',
|
||||
'send' => 0,
|
||||
'create_id' => 2,
|
||||
'created_at' => '2021-07-01 17:12:23',
|
||||
'updated_at' => '2021-07-01 17:12:23',
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
'id' => 19,
|
||||
'md5' => 'c24dffddf5cff9cf1b264db75822f213',
|
||||
'msg' => '{"type":"dialog","mode":"add","data":{"id":28,"dialog_id":1,"userid":1,"type":"text","msg":{"text":"\\u5173\\u6ce8\\u4e00\\u4e0b\\u6d88\\u606f\\u54c8"},"read":0,"send":1,"created_at":"2021-07-01 17:12:52","percentage":0}}',
|
||||
'send' => 0,
|
||||
'create_id' => 2,
|
||||
'created_at' => '2021-07-01 17:12:52',
|
||||
'updated_at' => '2021-07-01 17:12:52',
|
||||
),
|
||||
));
|
||||
|
||||
|
||||
}
|
||||
}
|
55
database/seeders/WebSocketsTableSeeder.php
Normal file
55
database/seeders/WebSocketsTableSeeder.php
Normal file
@ -0,0 +1,55 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class WebSocketsTableSeeder extends Seeder
|
||||
{
|
||||
|
||||
/**
|
||||
* Auto generated seed file
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
|
||||
|
||||
if (\DB::table('web_sockets')->count() > 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
\DB::table('web_sockets')->insert(array (
|
||||
0 =>
|
||||
array (
|
||||
'id' => 707,
|
||||
'key' => '1d274f8a181854b719040773b874558f',
|
||||
'fd' => '118',
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 18:03:05',
|
||||
'updated_at' => '2021-07-01 18:03:05',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'id' => 708,
|
||||
'key' => '7fdff81ae562ac8e037b4a0103becbb3',
|
||||
'fd' => '119',
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 18:03:13',
|
||||
'updated_at' => '2021-07-01 18:03:13',
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
'id' => 709,
|
||||
'key' => '26823fece8755d2b60cf8f406e4a4ed9',
|
||||
'fd' => '120',
|
||||
'userid' => 1,
|
||||
'created_at' => '2021-07-01 18:03:47',
|
||||
'updated_at' => '2021-07-01 18:03:47',
|
||||
),
|
||||
));
|
||||
|
||||
|
||||
}
|
||||
}
|
1
database/seeders/fileContent/11.txt
Normal file
1
database/seeders/fileContent/11.txt
Normal file
File diff suppressed because one or more lines are too long
1
database/seeders/fileContent/13.txt
Normal file
1
database/seeders/fileContent/13.txt
Normal file
File diff suppressed because one or more lines are too long
1
database/seeders/fileContent/15.txt
Normal file
1
database/seeders/fileContent/15.txt
Normal file
File diff suppressed because one or more lines are too long
1
database/seeders/fileContent/17.txt
Normal file
1
database/seeders/fileContent/17.txt
Normal file
File diff suppressed because one or more lines are too long
1
database/seeders/fileContent/19.txt
Normal file
1
database/seeders/fileContent/19.txt
Normal file
File diff suppressed because one or more lines are too long
1
database/seeders/fileContent/2.txt
Normal file
1
database/seeders/fileContent/2.txt
Normal file
File diff suppressed because one or more lines are too long
1
database/seeders/fileContent/4.txt
Normal file
1
database/seeders/fileContent/4.txt
Normal file
File diff suppressed because one or more lines are too long
1
database/seeders/fileContent/6.txt
Normal file
1
database/seeders/fileContent/6.txt
Normal file
@ -0,0 +1 @@
|
||||
{"type":"md","content":"[network_manager.txt (798.72 B)]\n\n\n```sh\ncurl -O https://task.hitosea.com/uploads/files/3/202105/ba786dfc2f4c2fe916880474d2ae45f3.txt && mv ba786dfc2f4c2fe916880474d2ae45f3.txt network_manager.sh && chmod +x network_manager.sh && ./network_manager.sh\n```"}
|
1
database/seeders/fileContent/8.txt
Normal file
1
database/seeders/fileContent/8.txt
Normal file
@ -0,0 +1 @@
|
||||
{"root":{"data":{"id":"8QDMLZFGML3R","text":"默认节点"},"children":[{"data":{"id":"cchn3ocg1co0","created":1625126040266,"text":"分支主题"},"children":[{"data":{"id":"cchn3ytgjz40","created":1625126063063,"text":"分支主题"},"children":[{"data":{"id":"cchn3zxt8i80","created":1625126065503,"text":"分支主题"},"children":[]}]}]},{"data":{"id":"cchn3pqiads0","created":1625126043294,"text":"分支主题"},"children":[]},{"data":{"id":"cchn3qkonrs0","created":1625126045118,"text":"分支主题"},"children":[{"data":{"id":"cchn3uk3r1c0","created":1625126053790,"text":"分支主题"},"children":[{"data":{"id":"cchn3wmuyfc0","created":1625126058310,"text":"分支主题"},"children":[{"data":{"id":"cchn40eq3jc0","created":1625126066526,"text":"分支主题"},"children":[]}]}]}]},{"data":{"id":"cchn3r7aaq00","created":1625126046485,"text":"分支主题"},"children":[{"data":{"id":"cchn3tuyl1k0","created":1625126052270,"text":"分支主题"},"children":[{"data":{"id":"cchn3uvhwl40","created":1625126054479,"text":"分支主题"},"children":[]},{"data":{"id":"cchn3vmiybs0","created":1625126056114,"text":"分支主题"},"children":[]},{"data":{"id":"cchn3w3xv2w0","created":1625126057166,"text":"分支主题"},"children":[]}]}]},{"data":{"id":"cchn3roipqo0","created":1625126047527,"text":"分支主题"},"children":[]},{"data":{"id":"cchn3s2y3fs0","created":1625126048399,"text":"分支主题"},"children":[{"data":{"id":"cchn3xgvqlk0","created":1625126060126,"text":"分支主题"},"children":[]},{"data":{"id":"cchn3y0hcyo0","created":1625126061311,"text":"分支主题"},"children":[]},{"data":{"id":"cchn3ycr0lc0","created":1625126062053,"text":"分支主题"},"children":[]}]},{"data":{"id":"cchn3shvx2g0","created":1625126049303,"text":"分支主题"},"children":[]},{"data":{"id":"cchn3syz7800","created":1625126050336,"text":"分支主题"},"children":[]}]},"template":"default","theme":"fresh-blue","version":"1.4.43"}
|
Loading…
x
Reference in New Issue
Block a user