forest/docker/dev/forest.sql

843 lines
43 KiB
MySQL
Raw Normal View History

2023-02-08 16:13:12 +08:00
create database forest default character set utf8mb4 collate utf8mb4_unicode_ci;
use forest;
create table forest_article
(
id bigint auto_increment comment '主键'
primary key,
article_title varchar(128) null comment '文章标题',
article_thumbnail_url varchar(128) null comment '文章缩略图',
article_author_id bigint null comment '文章作者id',
article_type char default '0' null comment '文章类型',
article_tags varchar(128) null comment '文章标签',
article_view_count int default 1 null comment '浏览总数',
article_preview_content varchar(256) null comment '预览内容',
article_comment_count int default 0 null comment '评论总数',
article_permalink varchar(128) null comment '文章永久链接',
article_link varchar(32) null comment '站内链接',
created_time datetime null comment '创建时间',
updated_time datetime null comment '更新时间',
article_perfect char default '0' null comment '0:非优选1优选',
article_status char default '0' null comment '文章状态',
article_thumbs_up_count int default 0 null comment '点赞总数',
article_sponsor_count int default 0 null comment '赞赏总数'
) comment '文章表 ' collate = utf8mb4_unicode_ci;
INSERT INTO forest.forest_article (id, article_title, article_thumbnail_url, article_author_id, article_type,
article_tags, article_view_count, article_preview_content, article_comment_count,
article_permalink, article_link, created_time, updated_time, article_perfect,
article_status, article_thumbs_up_count, article_sponsor_count)
VALUES (1, '给新人的一封信', null, 1, '0', '公告,新手信', 3275,
'您好,欢迎来到 RYMCU 社区RYMCU 是一个嵌入式知识学习交流平台。RY 取自”容易”的首字母,寓意为让电子设计变得 so easy。新手的疑问初学者都有很多疑问在这里对这些疑问进行一一解答。我英语不好可以学习编程吗对于初学者来说英语不是主要的障碍国内有着充足的中文教程。但在接下来的学习过程中需要阅读大量的英文文档所以还是需要有一些英语基础和理解学习能力配合翻译工具如百度',
0, 'http://localhost:3000/article/1', '/article/1', '2020-01-03 01:27:25', '2022-09-26 15:33:03', '0', '0', 7,
3);
create table forest_article_content
(
id_article bigint not null comment '主键',
article_content text null comment '文章内容原文',
article_content_html text null comment '文章内容Html',
created_time datetime null comment '创建时间',
updated_time datetime null comment '更新时间'
) comment ' ' collate = utf8mb4_unicode_ci;
create index forest_article_content_id_article_index
on forest_article_content (id_article);
INSERT INTO forest.forest_article_content (id_article, article_content, article_content_html, created_time,
updated_time)
VALUES (1, '您好,欢迎来到 RYMCU 社区RYMCU 是一个嵌入式知识学习交流平台。RY 取自”容易”的首字母,寓意为让电子设计变得 so easy。
## 新手的疑问
-
-
-
- 使 IDE Notepad
使 IDE
-
-
便
-
-
-
-
-
-
-
-
## 提问的方法
**使 Debug**
-
-
-
- ( IDE )
- Windows/Linux/MacOS
-
- Github
-
`stm32f103x ` `win10`
[](https://rymcu.com/article/80)
## 自学的方法
-
-
-
- 西
-
-
-
## C 语言基础教程
- [C ](https://doc.yonyoucloud.com/doc/wiki/project/c/c-intro.html)
- [C语言小白变怪兽](http://c.biancheng.net/c/)
## 单片机基础教程
- [51 (Keil4 )](https://rymcu.com/portfolio/42)
- [STM32 ](https://rymcu.com/portfolio/11)
- [51 (VS Code )](https://rymcu.com/portfolio/41)
## 其他教程
- [markdown ](https://rymcu.com/guides/markdown)
- [使](https://rymcu.com/guides/vditor)
## 推荐书籍
- C ( 2 ) [] ·W.Brian W.Kernighan[] ·M.Dennis M.Ritchie
- : [] Z.John Z.Sonmez
- [] Eric S Raymond
- [] Paul Graham
## 愿景
> [RYMCU ](https://rymcu.com/article/115)
## 行为准则
> [](https://rymcu.com/article/20)
## 其他
### 微信公众号
![qrcodeforgh245b3234e782258.jpg](https://static.rymcu.com/article/1642081054095.jpg)
### github
[RYMCU](https://github.com/rymcu)
### gitee
[RYMCU ](https://gitee.com/rymcu-community)
', '<p> RYMCU RYMCU RY so easy</p>
<h2 id="新手的疑问"></h2>
<p></p>
<ul>
<li>
<p><br />
</p>
</li>
<li>
<p><br />
</p>
</li>
<li>
<p><br />
</p>
</li>
<li>
<p>使 IDE Notepad <br />
使 IDE </p>
</li>
<li>
<p><br />
</p>
</li>
<li>
<p><br />
便</p>
</li>
<li>
<p><br />
</p>
<ul>
<li></li>
<li></li>
<li>
<ul>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
</li>
</ul>
</li>
</ul>
<h2 id="提问的方法"></h2>
<p><strong>使 Debug</strong></p>
<p></p>
<ul>
<li></li>
<li>
<ul>
<li></li>
<li>( IDE )</li>
<li>Windows/Linux/MacOS </li>
<li></li>
</ul>
</li>
<li> Github</li>
<li></li>
</ul>
<p> <code>stm32f103x </code> <code>win10</code> </p>
<p><a href="https://rymcu.com/article/80"></a></p>
<h2 id="自学的方法"></h2>
<ul>
<li></li>
<li></li>
<li></li>
<li>西</li>
<li></li>
<li></li>
<li></li>
</ul>
<h2 id="C-语言基础教程">C </h2>
<ul>
<li><a href="https://doc.yonyoucloud.com/doc/wiki/project/c/c-intro.html">C </a></li>
<li><a href="http://c.biancheng.net/c/">C </a></li>
</ul>
<h2 id="单片机基础教程"></h2>
<ul>
<li><a href="https://rymcu.com/portfolio/42">51 (Keil4 )</a></li>
<li><a href="https://rymcu.com/portfolio/11">STM32 </a></li>
<li><a href="https://rymcu.com/portfolio/41">51 (VS Code )</a></li>
</ul>
<h2 id="其他教程"></h2>
<ul>
<li><a href="https://rymcu.com/guides/markdown">markdown </a></li>
<li><a href="https://rymcu.com/guides/vditor">使</a></li>
</ul>
<h2 id="推荐书籍"></h2>
<ul>
<li>C ( 2 ) [] ·W.Brian W.Kernighan[] ·M.Dennis M.Ritchie </li>
<li>: [] Z.John Z.Sonmez </li>
<li> [] Eric S Raymond </li>
<li> [] Paul Graham </li>
</ul>
<h2 id="愿景"></h2>
<blockquote>
<p> <a href="https://rymcu.com/article/115">RYMCU </a></p>
</blockquote>
<p></p>
<h2 id="行为准则"></h2>
<blockquote>
<p> <a href="https://rymcu.com/article/20"></a></p>
</blockquote>
<p><br />
</p>
<h2 id="其他"></h2>
<h3 id="微信公众号"></h3>
<p><img src="https://static.rymcu.com/article/1642081054095.jpg" alt="qrcodeforgh245b3234e782258.jpg" /></p>
<h3 id="github">github</h3>
<p><a href="https://github.com/rymcu">RYMCU</a></p>
<h3 id="gitee">gitee</h3>
<p><a href="https://gitee.com/rymcu-community">RYMCU </a></p>
', '2020-01-03 15:27:25', '2022-09-26 15:33:02');
create table forest_article_thumbs_up
(
id bigint auto_increment comment '主键'
primary key,
id_article bigint null comment '文章表主键',
id_user bigint null comment '用户表主键',
thumbs_up_time datetime null comment '点赞时间'
) comment '文章点赞表 ' collate = utf8mb4_unicode_ci;
create table forest_bank
(
id bigint auto_increment comment '主键'
primary key,
bank_name varchar(64) null comment '银行名称',
bank_owner bigint null comment '银行负责人',
bank_description varchar(512) null comment '银行描述',
created_by bigint null comment '创建人',
created_time datetime null comment '创建时间'
) comment '银行表 ' collate = utf8mb4_unicode_ci;
create table forest_bank_account
(
id bigint auto_increment comment '主键'
primary key,
id_bank bigint null comment '所属银行',
bank_account varchar(32) null comment '银行账户',
account_balance decimal(32, 8) null comment '账户余额',
account_owner bigint null comment '账户所有者',
created_time datetime null comment '创建时间',
account_type char default '0' null comment '0: 普通账户 1: 银行账户'
) comment '银行账户表 ' collate = utf8mb4_unicode_ci;
create unique index forest_bank_account_pk
on forest_bank_account (account_owner, bank_account);
create table forest_comment
(
id bigint auto_increment comment '主键'
primary key,
comment_content text null comment '评论内容',
comment_author_id bigint null comment '作者 id',
comment_article_id bigint null comment '文章 id',
comment_sharp_url varchar(256) null comment '锚点 url',
comment_original_comment_id bigint null comment '父评论 id',
comment_status char default '0' null comment '状态',
comment_ip varchar(128) null comment '评论 IP',
comment_ua varchar(512) null comment 'User-Agent',
comment_anonymous char null comment '0公开回帖1匿名回帖',
comment_reply_count int null comment '回帖计数',
comment_visible char null comment '0所有人可见1仅楼主和自己可见',
created_time datetime null comment '创建时间'
) comment '评论表 ' collate = utf8mb4_unicode_ci;
create table forest_currency_issue
(
id bigint auto_increment comment '主键'
primary key,
issue_value decimal(32, 8) null comment '发行数额',
created_by bigint null comment '发行人',
created_time datetime null comment '发行时间'
) comment '货币发行表 ' collate = utf8mb4_unicode_ci;
create table forest_currency_rule
(
id bigint auto_increment comment '主键'
primary key,
rule_name varchar(128) null comment '规则名称',
rule_sign varchar(64) null comment '规则标志(与枚举变量对应)',
rule_description varchar(1024) null comment '规则描述',
money decimal(32, 8) null comment '金额',
award_status char default '0' null comment '奖励(0)/消耗(1)状态',
maximum_money decimal(32, 8) null comment '上限金额',
repeat_days int default 0 null comment '重复(0: 不重复,单位:天)',
status char default '0' null comment '状态'
) comment '货币规则表 ' collate = utf8mb4_unicode_ci;
create table forest_follow
(
id bigint auto_increment comment '主键'
primary key,
follower_id bigint null comment '关注者 id',
following_id bigint null comment '关注数据 id',
following_type char null comment '0用户1标签2帖子收藏3帖子关注'
) comment '关注表 ' collate = utf8mb4_unicode_ci;
create table forest_notification
(
id bigint auto_increment comment '主键'
primary key,
id_user bigint null comment '用户id',
data_type char null comment '数据类型',
data_id bigint null comment '数据id',
has_read char default '0' null comment '是否已读',
data_summary varchar(256) null comment '数据摘要',
created_time datetime null comment '创建时间'
) comment '通知表 ' collate = utf8mb4_unicode_ci;
create table forest_portfolio
(
id bigint auto_increment comment '主键'
primary key,
portfolio_head_img_url varchar(500) null comment '作品集头像',
portfolio_title varchar(32) null comment '作品集名称',
portfolio_author_id bigint null comment '作品集作者',
portfolio_description varchar(1024) null comment '作品集介绍',
created_time datetime null comment '创建时间',
updated_time datetime null comment '更新时间',
portfolio_description_html varchar(1024) null comment ' 作品集介绍HTML'
) comment '作品集表' collate = utf8mb4_unicode_ci;
create table forest_portfolio_article
(
id bigint auto_increment comment '主键'
primary key,
id_portfolio bigint null comment '作品集表主键',
id_article bigint null comment '文章表主键',
sort_no int null comment '排序号'
) comment '作品集与文章关系表' collate = utf8mb4_unicode_ci;
create table forest_role
(
id bigint auto_increment comment '主键'
primary key,
name varchar(32) null comment '名称',
input_code varchar(32) null comment '拼音码',
status char default '0' null comment '状态',
created_time datetime null comment '创建时间',
updated_time datetime null comment '更新时间',
weights tinyint default 0 null comment '权重,数值越小权限越大;0:无权限'
) comment ' ' collate = utf8mb4_unicode_ci;
create table forest_sponsor
(
id bigint auto_increment comment '主键'
primary key,
data_type char null comment '数据类型',
data_id bigint null comment '数据主键',
sponsor bigint null comment '赞赏人',
sponsorship_time datetime null comment '赞赏日期',
sponsorship_money decimal(32, 8) null comment '赞赏金额'
) comment '赞赏表 ' collate = utf8mb4_unicode_ci;
create table forest_tag
(
id bigint auto_increment comment '主键'
primary key,
tag_title varchar(32) null comment '标签名',
tag_icon_path varchar(512) null comment '标签图标',
tag_uri varchar(128) null comment '标签uri',
tag_description text null comment '描述',
tag_view_count int default 0 null comment '浏览量',
tag_article_count int default 0 null comment '关联文章总数',
tag_ad char null comment '标签广告',
tag_show_side_ad char null comment '是否显示全站侧边栏广告',
created_time datetime null comment '创建时间',
updated_time datetime null comment '更新时间',
tag_status char default '0' null comment '标签状态',
tag_reservation char default '0' null comment '保留标签',
tag_description_html text null
) comment '标签表 ' collate = utf8mb4_unicode_ci;
create table forest_tag_article
(
id bigint auto_increment comment '主键'
primary key,
id_tag bigint null comment '标签 id',
id_article varchar(32) null comment '帖子 id',
article_comment_count int default 0 null comment '帖子评论计数 0',
article_perfect int default 0 null comment '0:非优选1优选 0',
created_time datetime null comment '创建时间',
updated_time datetime null comment '更新时间'
) comment '标签 - 帖子关联表 ' collate = utf8mb4_unicode_ci;
create index forest_tag_article_id_tag_index
on forest_tag_article (id_tag);
create table forest_topic
(
id bigint auto_increment comment '主键'
primary key,
topic_title varchar(32) null comment '专题标题',
topic_uri varchar(32) null comment '专题路径',
topic_description text null comment '专题描述',
topic_type varchar(32) null comment '专题类型',
topic_sort int default 10 null comment '专题序号 10',
topic_icon_path varchar(128) null comment '专题图片路径',
topic_nva char default '0' null comment '0作为导航1不作为导航 0',
topic_tag_count int default 0 null comment '专题下标签总数 0',
topic_status char default '0' null comment '0正常1禁用 0',
created_time datetime null comment '创建时间',
updated_time datetime null comment '更新时间',
topic_description_html text null comment '专题描述 Html'
) comment '主题表' collate = utf8mb4_unicode_ci;
create table forest_topic_tag
(
id bigint auto_increment comment '主键'
primary key,
id_topic bigint null comment '专题id',
id_tag bigint null comment '标签id',
created_time datetime null comment '创建时间',
updated_time datetime null comment '更新时间'
) comment '专题- 标签关联表 ' collate = utf8mb4_unicode_ci;
create index forest_topic_tag_id_topic_index
on forest_topic_tag (id_topic);
create table forest_transaction_record
(
id bigint auto_increment comment '交易主键'
primary key,
transaction_no varchar(32) null comment '交易流水号',
funds varchar(32) null comment '款项',
form_bank_account varchar(32) null comment '交易发起方',
to_bank_account varchar(32) null comment '交易收款方',
money decimal(32, 8) null comment '交易金额',
transaction_type char default '0' null comment '交易类型',
transaction_time datetime null comment '交易时间'
) comment '交易记录表 ' collate = utf8mb4_unicode_ci;
create table forest_user
(
id bigint auto_increment comment '用户ID'
primary key,
account varchar(32) null comment '账号',
password varchar(64) not null comment '密码',
nickname varchar(128) null comment '昵称',
real_name varchar(32) null comment '真实姓名',
sex char default '0' null comment '性别',
avatar_type char default '0' null comment '头像类型',
avatar_url varchar(512) null comment '头像路径',
email varchar(64) null comment '邮箱',
phone varchar(11) null comment '电话',
status char default '0' null comment '状态',
created_time datetime null comment '创建时间',
updated_time datetime null comment '更新时间',
last_login_time datetime null comment '最后登录时间',
signature varchar(128) null comment '签名',
last_online_time datetime null comment '最后在线时间',
bg_img_url varchar(512) null comment '背景图片'
) comment '用户表 ' collate = utf8mb4_unicode_ci;
create table forest_user_extend
(
id_user bigint not null comment '用户表主键',
github varchar(64) null comment 'github',
weibo varchar(32) null comment '微博',
weixin varchar(32) null comment '微信',
qq varchar(32) null comment 'qq',
blog varchar(500) null comment '博客'
) comment '用户扩展表 ' collate = utf8mb4_unicode_ci;
create table forest_user_role
(
id_user bigint not null comment '用户表主键',
id_role bigint not null comment '角色表主键',
created_time datetime null comment '创建时间'
) comment '用户权限表 ' collate = utf8mb4_unicode_ci;
create table forest_user_tag
(
id bigint auto_increment comment '主键'
primary key,
id_user bigint null comment '用户 id',
id_tag varchar(32) null comment '标签 id',
type char null comment '0创建者1帖子使用2用户自评标签',
created_time datetime null comment '创建时间',
updated_time datetime null comment '更新时间'
) comment '用户 - 标签关联表 ' collate = utf8mb4_unicode_ci;
create table forest_visit
(
id bigint auto_increment comment '主键'
primary key,
visit_url varchar(256) null comment '浏览链接',
visit_ip varchar(128) null comment 'IP',
visit_ua varchar(512) null comment 'User-Agent',
visit_city varchar(32) null comment '城市',
visit_device_id varchar(256) null comment '设备唯一标识',
visit_user_id bigint null comment '浏览者 id',
visit_referer_url varchar(256) null comment '上游链接',
created_time datetime null comment '创建时间',
expired_time datetime null comment '过期时间'
) comment '浏览表' collate = utf8mb4_unicode_ci;
create table forest_lucene_user_dic
(
id int auto_increment comment '字典编号',
dic char(32) null comment '字典',
constraint forest_lucene_user_dic_id_uindex
unique (id)
) comment '用户扩展字典' collate = utf8mb4_unicode_ci;
alter table forest_lucene_user_dic
add primary key (id);
insert into forest.forest_role (id, name, input_code, status, created_time, updated_time, weights)
values (1, '管理员', 'admin', '0', '2019-11-16 04:22:45', '2019-11-16 04:22:45', 1);
insert into forest.forest_role (id, name, input_code, status, created_time, updated_time, weights)
values (2, '社区管理员', 'blog_admin', '0', '2019-12-05 03:10:05', '2019-12-05 17:11:35', 2);
insert into forest.forest_role (id, name, input_code, status, created_time, updated_time, weights)
values (3, '作者', 'zz', '0', '2020-03-12 15:07:27', '2020-03-12 15:07:27', 3);
insert into forest.forest_role (id, name, input_code, status, created_time, updated_time, weights)
values (4, '普通用户', 'user', '0', '2019-12-05 03:10:59', '2020-03-12 15:13:49', 4);
insert into forest.forest_user (id, account, password, nickname, real_name, sex, avatar_type, avatar_url, email, phone,
status, created_time, updated_time, last_login_time, signature)
values (1, 'admin', '8ce2dd866238958ac4f07870766813cdaa39a9b83a8c75e26aa50f23', 'admin', 'admin', '0', '0', null,
'admin@rymcu.com',
null, '0', '2021-01-25 18:21:51', '2021-01-25 18:21:54', '2021-01-25 18:21:54', null);
insert into forest.forest_user (id, account, password, nickname, real_name, sex, avatar_type, avatar_url, email, phone,
status, created_time, updated_time, last_login_time, signature)
values (2, 'testUser', '8ce2dd866238958ac4f07870766813cdaa39a9b83a8c75e26aa50f23', 'testUser', 'testUser', '0', '0',
null, 'testUser@rymcu.com',
null, '0', '2021-01-25 18:21:51', '2021-01-25 18:21:54', '2021-01-25 18:21:54', null);
2023-04-02 11:32:42 +08:00
INSERT INTO `forest`.`forest_user` (`id`, `account`, `password`, `nickname`, `real_name`, `sex`, `avatar_type`,
`avatar_url`, `email`, `phone`, `status`, `created_time`, `updated_time`,
`last_login_time`, `signature`, `last_online_time`, `bg_img_url`)
VALUES (65001, 'testUser1', '8ce2dd866238958ac4f07870766813cdaa39a9b83a8c75e26aa50f23', 'testUser', 'testUser1', '0',
'0', NULL, 'testUser@rymcu.com', NULL, '0', '2021-01-25 18:21:51', '2021-01-25 18:21:54', '2021-01-25 18:21:54',
NULL, NULL, NULL);
2023-02-08 16:13:12 +08:00
insert into forest.forest_user_role (id_user, id_role, created_time)
values (1, 1, '2021-01-25 18:22:12');
create table forest_file
(
2023-04-02 11:32:42 +08:00
id int unsigned auto_increment comment 'id' primary key,
2023-02-08 16:13:12 +08:00
md5_value varchar(40) not null comment '文件md5值',
file_path varchar(255) not null comment '文件上传路径',
file_url varchar(255) not null comment '网络访问路径',
2023-04-02 11:32:42 +08:00
created_time datetime null comment '创建时间',
updated_time datetime null comment '更新时间',
created_by int null comment '创建人',
file_size int null comment '文件大小',
file_type varchar(10) null comment '文件类型'
2023-02-08 16:13:12 +08:00
) comment '文件上传记录表' collate = utf8mb4_unicode_ci;
create index index_md5_value_created_by
on forest_file (md5_value, created_by);
create index index_created_by
on forest_file (created_by);
create index index_md5_value
on forest_file (md5_value);
create table forest_login_record
(
id bigint auto_increment comment '主键'
primary key,
id_user bigint not null comment '用户表主键',
login_ip varchar(128) null comment '登录设备IP',
login_ua varchar(512) null comment '登录设备UA',
login_city varchar(128) null comment '登录设备所在城市',
login_os varchar(64) null comment '登录设备操作系统',
login_browser varchar(64) null comment '登录设备浏览器',
created_time datetime null comment '登录时间',
login_device_id varchar(512) null comment '登录设备/浏览器指纹',
constraint forest_login_record_id_uindex
unique (id)
) comment '登录记录表' collate = utf8mb4_unicode_ci;
create table forest_product
(
id int auto_increment comment '主键'
primary key,
product_title varchar(100) null comment '产品名',
product_price int default 0 null comment '单价(单位:分)',
product_img_url varchar(100) null comment '产品主图',
product_description varchar(200) null comment '产品描述',
weights tinyint default 50 null comment '权重,数值越小权限越大;0:无权限',
created_time datetime null comment '创建时间',
updated_time datetime null comment '更新时间',
constraint forest_product_id_uindex
unique (id)
)
comment '产品表';
create table forest_product_content
(
id_product int null comment '产品表主键',
product_content text null comment '产品详情原文',
product_content_html text null comment '产品详情 Html',
created_time datetime null comment '创建时间',
updated_time datetime null comment '更新时间'
)
comment '产品详情表';
INSERT INTO forest.forest_product (id, product_title, product_price, product_img_url, product_description, weights,
created_time, updated_time)
VALUES (1, 'Nebula Pi', 2000000, 'https://static.rymcu.com/article/1648960741563.jpg', '产品描述', 20,
'2022-06-13 22:35:33', '2022-06-13 22:35:33');
INSERT INTO forest.forest_product_content (id_product, product_content, product_content_html, created_time,
updated_time)
VALUES (1, '![nebula pi](https://static.rymcu.com/article/1640531590770)
Nebula-Pi
## 1.1主板结构及布局
![](https://static.rymcu.com/article/1640531590844)
1.1 Nebula-Pi
## 1.2主板元件说明
1.1 Nebula-Pi 51 ********
| | | |
| --- | --- | --- |
| 1 | USB | |
| 2 | 线 | 51 线使 |
| 3 | | |
| 4 | 51 STC89C52RC | 51 STC STC89C52RC |
| 5 | 线 | 线 OLED LCD |
| 6 | | |
| 7 | | |
| 8 | | |
| 9 | | 1602/12864 |
| 10 | | 4 4 |
| 11 | | "滴滴" |
| 12 | & | |
| 13 | | |
| 14 | 8 LED | 8 LED |
| 15 | 51 STC12 | 51 |
| 16 | 2.4G 线 | 2.4G 线线 1-2Km |
| 17 | 3 | 3 |
| 18 | | 线 220V |
| 19 | | 5V 3.3V |
| 20 | WiFi | WiFi WiFi |
1-1
', '<p><img src="https://static.rymcu.com/article/1640531590770" alt="nebula pi" /></p>
<p>Nebula-Pi </p>
<h2 id="1-1主板结构及布局">1.1 </h2>
<p><img src="https://static.rymcu.com/article/1640531590844" alt="" /></p>
<p> 1.1 Nebula-Pi </p>
<h2 id="1-2主板元件说明">1.2 </h2>
<p> 1.1 Nebula-Pi 51 <strong></strong> <strong></strong></p>
<table>
<thead>
<tr>
<th></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td> USB </td>
<td></td>
</tr>
<tr>
<td>2</td>
<td>线</td>
<td> 51 线使</td>
</tr>
<tr>
<td>3</td>
<td></td>
<td></td>
</tr>
<tr>
<td>4</td>
<td>51 STC89C52RC</td>
<td> 51 STC STC89C52RC </td>
</tr>
<tr>
<td>5</td>
<td>线</td>
<td>线 OLED LCD</td>
</tr>
<tr>
<td>6</td>
<td></td>
<td></td>
</tr>
<tr>
<td>7</td>
<td></td>
<td></td>
</tr>
<tr>
<td>8</td>
<td></td>
<td></td>
</tr>
<tr>
<td>9</td>
<td></td>
<td> 1602/12864 </td>
</tr>
<tr>
<td>10</td>
<td></td>
<td>4 4 </td>
</tr>
<tr>
<td>11</td>
<td></td>
<td>&quot;&quot;</td>
</tr>
<tr>
<td>12</td>
<td>&amp;</td>
<td></td>
</tr>
<tr>
<td>13</td>
<td></td>
<td></td>
</tr>
<tr>
<td>14</td>
<td>8 LED </td>
<td>8 LED </td>
</tr>
<tr>
<td>15</td>
<td> 51 STC12</td>
<td> 51 </td>
</tr>
<tr>
<td>16</td>
<td>2.4G 线</td>
<td> 2.4G 线线 1-2Km</td>
</tr>
<tr>
<td>17</td>
<td>3 </td>
<td>3 </td>
</tr>
<tr>
<td>18</td>
<td></td>
<td>线 220V </td>
</tr>
<tr>
<td>19</td>
<td></td>
<td> 5V 3.3V </td>
</tr>
<tr>
<td>20</td>
<td>WiFi </td>
<td>WiFi WiFi </td>
</tr>
</tbody>
</table>
<p> 1-1 </p>
', '2022-06-13 22:35:34', '2022-06-13 22:35:34');
INSERT INTO forest.forest_bank (id, bank_name, bank_owner, bank_description, created_by, created_time)
VALUES (1, '社区中央银行', 1, '社区中央银行', 1, '2020-11-26 21:24:19');
INSERT INTO forest.forest_bank (id, bank_name, bank_owner, bank_description, created_by, created_time)
VALUES (2, '社区发展与改革银行', 1, '社区发展与改革银行', 1, '2020-11-26 21:31:27');
INSERT INTO forest.forest_bank_account (id, id_bank, bank_account, account_balance, account_owner, created_time,
account_type)
VALUES (2, 1, '100000002', 1207980.00000000, 2, '2020-11-26 21:37:18', '1');
INSERT INTO forest.forest_bank_account (id, id_bank, bank_account, account_balance, account_owner, created_time,
account_type)
VALUES (1, 1, '100000001', 997500000.00000000, 1, '2020-11-26 21:36:21', '1');