最新定制的安卓项目及设计报告——仿番茄小说APP

news2025/7/7 23:26:56

已录演示视频,想看演示视频的可以私我

《移动应用开发实践》实践报告

APP名称: 番茄免费小说

要求:

格式:宋体,小四号字;首行缩进;行距:1.5倍。

  1. 每人独立完成Android App的设计与开发
  2. App必须包含SOLite数据库操作

一、所调查的App简介。(限200字以内)

番茄小说是抖音 旗下的免费网文阅读APP,致力于为读者提供畅快不花钱的极致阅读体验,于2019年11月正式上线。

番茄小说拥有海量正版小说,涵盖言情、玄幻、悬疑、都市等全部主流网文类型,以及大量热剧原著和经典出版物,支持用户看书听书。

  1. 你要参照的App的界面截图及界面对应的流程图和功能图,并给出具体的文字说明。

a60e0bc0dbcf504aea90f1f6eb5a3a15.png

功能图

format,png

format,png

参照的App的界面截图

format,png

三、技术剖析(调查的App界面可以运用哪些课程所学内容实现,请对照一一说明)

3.1 首页

首页从上往下整体可以用垂直的线性布局实现,顶部的搜索框可以用RelativeLayout相对布局实现,接下来的4x4的排行榜可以HorizontalScrollView和RecyclerView瀑布流实现。

底部导航栏可以用成熟的BottomNavigationView技术方案实现,底部导航图片可以采用ventor矢量图标。

3.2 榜单

可以用左右组合RecyclerView列表实现,根据左侧分类动态显示右侧的书籍。

3.3 书架

可以采用3列布局的列表实现,单击事件可以查看书籍详情,长按事件可以删除书籍

3.4 我的

可以采用ConstraintLayout布局实现。退出登录可以通过button按钮单击事件实现

四、App实现

1.界面完成的截图

   
   

2cb3117dd0b742e8a75aa0051dfb554a.png

3dbb380f51a74243919dcbb9831c0a82.png

 

2.界面布局代码

  1. 首页
    <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".ui.home.HomeFragment"
    android:orientation="vertical">
    <RelativeLayout
    android:id="@+id/re1"
    android:layout_width="match_parent"
    android:layout_height="70dp"
    android:background="#E6E8EA">
    <RelativeLayout
    android:layout_width="match_parent"
    android:layout_height="42dp"
    android:layout_centerInParent="true"
    android:layout_marginLeft="50dp"
    android:background="@drawable/back3">
    <ImageView
    android:layout_width="35dp"
    android:layout_height="35dp"
    android:layout_centerVertical="true"
    android:layout_marginLeft="5dp"
    android:background="@drawable/ic_baseline_search_24" />
    <EditText
    android:id="@+id/edinput"
    android:layout_width="match_parent"
    android:layout_height="50dp"
    android:layout_marginLeft="43dp"
    android:layout_marginRight="55dp"
    android:background="#FCFDFD"
    android:hint="请输入搜索内容" />
    <TextView
    android:id="@+id/tv_refresh1"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignParentRight="true"
    android:layout_centerVertical="true"
    android:layout_marginRight="10dp"
    android:text="搜索"
    android:textColor="#A60F43"
    android:textSize="17dp" />
    </RelativeLayout>
    </RelativeLayout>
    <RelativeLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content">
    <TextView
    android:id="@+id/tv_rank"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="排行榜"
    android:textSize="32dp"
    android:textStyle="bold"
    />
    <TextView
    android:id="@+id/all_rank"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="完整榜单>"
    android:textSize="24dp"
    android:layout_alignParentRight="true"
    />
    </RelativeLayout>
    <HorizontalScrollView
    android:layout_width="match_parent"
    android:layout_height="match_parent">
    <androidx.recyclerview.widget.RecyclerView
    android:id="@+id/homeRecyclerView"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/colorContent"
    android:overScrollMode="never"
    app:layout_constraintBottom_toBottomOf="parent"
    app:layout_constraintEnd_toEndOf="parent"
    app:layout_constraintHorizontal_bias="0.0"
    app:layout_constraintStart_toStartOf="parent"
    app:layout_constraintTop_toTopOf="parent" />
    </HorizontalScrollView>
    </LinearLayout>
  2. 榜单

<?xml version="1.0" encoding="utf-8"?>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"

xmlns:tools="http://schemas.android.com/tools"

android:layout_width="match_parent"

android:layout_height="match_parent"

android:orientation="horizontal"

android:weightSum="10"

tools:context=".ui.snack.SnackFragment">

<LinearLayout

android:layout_width="0dp"

android:layout_height="match_parent"

android:layout_weight="2"

android:orientation="vertical">

<androidx.recyclerview.widget.RecyclerView

android:id="@+id/snackLeftRecyclerView"

android:layout_width="match_parent"

android:layout_height="match_parent"

android:background="#4DEEEEEE"

android:overScrollMode="never" />

</LinearLayout>

<LinearLayout

android:layout_width="0dp"

android:layout_height="match_parent"

android:layout_weight="8"

android:orientation="vertical"

android:overScrollMode="never">

<androidx.recyclerview.widget.RecyclerView

android:id="@+id/snackRightRecyclerView"

android:layout_width="match_parent"

android:layout_height="match_parent"

android:background="@color/colorBgWhite"

android:overScrollMode="never" />

</LinearLayout>

</LinearLayout>

  1. 书架
    <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    tools:context=".ui.place.PlaceFragment">
    <androidx.recyclerview.widget.RecyclerView
    android:id="@+id/placeRecyclerView"
    android:layout_width="match_parent"
    android:layout_height="0dp"
    android:layout_weight="1"
    android:background="@color/colorContent"
    android:overScrollMode="never" />
    </LinearLayout>
  2. 我的

<?xml version="1.0" encoding="utf-8"?>

<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"

xmlns:app="http://schemas.android.com/apk/res-auto"

xmlns:tools="http://schemas.android.com/tools"

android:layout_width="match_parent"

android:layout_height="match_parent"

android:background="@color/colorContent"

tools:context=".ui.my.MyFragment">

<ScrollView

android:layout_width="0dp"

android:layout_height="0dp"

android:overScrollMode="never"

app:layout_constraintBottom_toBottomOf="parent"

app:layout_constraintEnd_toEndOf="parent"

app:layout_constraintStart_toStartOf="parent"

app:layout_constraintTop_toTopOf="parent">

<androidx.constraintlayout.widget.ConstraintLayout

android:layout_width="match_parent"

android:layout_height="wrap_content">

<androidx.constraintlayout.widget.ConstraintLayout

android:id="@+id/constraintLayout"

android:layout_width="0dp"

android:layout_height="wrap_content"

android:background="@drawable/detail_info"

app:layout_constraintEnd_toEndOf="parent"

app:layout_constraintStart_toStartOf="parent"

app:layout_constraintTop_toTopOf="parent"

tools:ignore="MissingConstraints">

<de.hdodenhof.circleimageview.CircleImageView

android:id="@+id/myUserHead"

android:layout_width="80dp"

android:layout_height="80dp"

android:layout_marginStart="16dp"

android:layout_marginTop="24dp"

android:layout_marginBottom="24dp"

android:src="@mipmap/hejubian"

app:layout_constraintBottom_toBottomOf="parent"

app:layout_constraintStart_toStartOf="parent"

app:layout_constraintTop_toTopOf="parent" />

<TextView

android:id="@+id/myUserNickName"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:layout_marginStart="17dp"

android:layout_marginTop="24dp"

android:text="未登录"

android:textSize="22sp"

app:layout_constraintStart_toEndOf="@+id/myUserHead"

app:layout_constraintTop_toTopOf="parent" />

<TextView

android:id="@+id/myUserName"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:layout_marginStart="17dp"

android:layout_marginTop="8dp"

android:text=""

android:textSize="18sp"

app:layout_constraintStart_toEndOf="@+id/myUserHead"

app:layout_constraintTop_toBottomOf="@+id/myUserNickName" />

</androidx.constraintlayout.widget.ConstraintLayout>

<LinearLayout

android:id="@+id/linearLayout"

android:layout_width="0dp"

android:layout_height="wrap_content"

android:layout_marginTop="16dp"

android:background="@drawable/radius_content"

android:orientation="horizontal"

android:padding="10sp"

android:weightSum="4"

app:layout_constraintEnd_toEndOf="parent"

app:layout_constraintStart_toStartOf="parent"

app:layout_constraintTop_toBottomOf="@+id/constraintLayout">

<LinearLayout

android:id="@+id/myOrderView"

android:layout_width="0dp"

android:layout_height="match_parent"

android:layout_weight="1"

android:orientation="vertical">

<ImageView

android:layout_width="match_parent"

android:layout_height="55dp"

android:padding="8dp"

android:src="@drawable/ic_baseline_assignment_24dp" />

<TextView

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:gravity="center_horizontal"

android:text="我的订单" />

</LinearLayout>

<LinearLayout

android:layout_width="0dp"

android:layout_height="match_parent"

android:layout_weight="1"

android:orientation="vertical">

<ImageView

android:layout_width="match_parent"

android:layout_height="55dp"

android:padding="8dp"

android:src="@drawable/ic_sharp_monetization_on_24dp" />

<TextView

android:id="@+id/textView4"

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:gravity="center_horizontal"

android:text="待付款" />

</LinearLayout>

<LinearLayout

android:layout_width="0dp"

android:layout_height="match_parent"

android:layout_weight="1"

android:orientation="vertical">

<ImageView

android:layout_width="match_parent"

android:layout_height="55dp"

android:padding="8dp"

android:src="@drawable/ic_baseline_question_answer_24dp" />

<TextView

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:gravity="center_horizontal"

android:text="待评价" />

</LinearLayout>

<LinearLayout

android:layout_width="0dp"

android:layout_height="match_parent"

android:layout_weight="1"

android:orientation="vertical">

<ImageView

android:layout_width="match_parent"

android:layout_height="55dp"

android:padding="8dp"

android:src="@drawable/ic_baseline_report_24dp" />

<TextView

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:gravity="center_horizontal"

android:text="退款" />

</LinearLayout>

</LinearLayout>

<LinearLayout

android:id="@+id/linearLayout2"

android:layout_width="0dp"

android:layout_height="wrap_content"

android:layout_marginStart="1dp"

android:layout_marginTop="16dp"

android:background="@drawable/radius_content"

android:orientation="vertical"

app:layout_constraintEnd_toEndOf="parent"

app:layout_constraintStart_toStartOf="parent"

app:layout_constraintTop_toBottomOf="@+id/linearLayout">

<TextView

android:layout_width="match_parent"

android:layout_height="45dp"

android:gravity="center_vertical"

android:paddingStart="16dp"

android:text="支付设置"

android:textSize="18sp"

tools:ignore="RtlSymmetry" />

<View

android:layout_width="match_parent"

android:layout_height="1dp"

android:background="#EEEEEE" />

<TextView

android:id="@+id/myModifyText"

android:layout_width="match_parent"

android:layout_height="45dp"

android:gravity="center_vertical"

android:paddingStart="16dp"

android:text="修改地址"

android:textSize="18sp"

tools:ignore="RtlSymmetry" />

<LinearLayout

android:id="@+id/myModifyView"

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:background="#1A409EFF"

android:orientation="vertical"

android:visibility="gone">

<EditText

android:id="@+id/editTextTextPersonName2"

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:layout_marginLeft="32sp"

android:layout_marginTop="22sp"

android:layout_marginRight="32sp"

android:layout_marginBottom="12sp"

android:ems="10"

android:hint="请输入新的手机号码"

android:inputType="textPersonName" />

<EditText

android:id="@+id/editTextTextPersonName3"

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:layout_marginLeft="32sp"

android:layout_marginTop="12sp"

android:layout_marginRight="32sp"

android:layout_marginBottom="12sp"

android:ems="10"

android:hint="请输入新的收货地址"

android:inputType="textPersonName" />

<Button

android:id="@+id/myModifyBtn"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:layout_gravity="end"

android:layout_marginEnd="32sp"

android:layout_marginBottom="12sp"

android:text="确定" />

</LinearLayout>

<View

android:layout_width="match_parent"

android:layout_height="1dp"

android:background="#EEEEEE" />

</LinearLayout>

<LinearLayout

android:layout_width="0dp"

android:layout_height="wrap_content"

android:layout_marginTop="16dp"

android:layout_marginBottom="16dp"

android:background="@drawable/radius_content"

android:orientation="vertical"

app:layout_constraintBottom_toBottomOf="parent"

app:layout_constraintEnd_toEndOf="parent"

app:layout_constraintStart_toStartOf="parent"

app:layout_constraintTop_toBottomOf="@+id/linearLayout2">

<TextView

android:id="@+id/logoutBtn"

android:layout_width="match_parent"

android:layout_height="45dp"

android:gravity="center"

android:paddingStart="16dp"

android:text="退出账号"

android:textSize="16sp"

tools:ignore="RtlSymmetry" />

</LinearLayout>

</androidx.constraintlayout.widget.ConstraintLayout>

</ScrollView>

</androidx.constraintlayout.widget.ConstraintLayout>

3.App功能实现关键代码

(1)首页

private void initHomeAdapter() {

// 实例化电子书列表适配器对象

HomeAdapter adapter = new HomeAdapter(DataServer.getHomeList());

// 设置动画效果

adapter.setAnimationEnable(true);

// adapter.setAnimationFirstOnly(false);

// adapter.setAnimationWithDefault(BaseQuickAdapter.AnimationType.SlideInBottom);

adapter.setAdapterAnimation(new MyAnimation3());

// 设置头部

adapter.setHeaderView(getHeadView(), 1);

// 设置尾部

adapter.setFooterView(getFooterView(), 1);

// 点击事件监听器

adapter.setOnItemClickListener((adapter1, view, position) -> {

Snack snack = (Snack) adapter1.getItem(position);

DetailActivity.actionStart(getContext(), snack);

});

// 设置适配器

homeRecyclerView.setAdapter(adapter);

}

  1. 榜单

/**

* 初始化左边适配器

*/

@SuppressLint("ResourceAsColor")

private void initLeftAdapter() {

// 实例化左边适配器对象

SnackLeftAdapter leftAdapter = new SnackLeftAdapter(DataServer.getSnackOrderList());

// 设置动画效果

leftAdapter.setAnimationEnable(true);

leftAdapter.setAnimationFirstOnly(false);

leftAdapter.setAnimationWithDefault(BaseQuickAdapter.AnimationType.SlideInLeft);

// 触发点击按钮

leftAdapter.setOnItemClickListener((adapter, view, position) -> {

if (position != leftSelectPosition) {

String item = (String) adapter.getItem(position);

// 原本选中的item变成未选中颜色

Objects.requireNonNull(adapter.getViewByPosition(leftSelectPosition, R.id.snackLeftType)).setBackgroundResource(R.color.colorContent);

// 当前item变成选中颜色

Objects.requireNonNull(adapter.getViewByPosition(position, R.id.snackLeftType)).setBackgroundResource(R.color.colorBgWhite);

leftSelectPosition = position;

// 刷新右边列表

// rightAdapter.setAnimationWithDefault(BaseQuickAdapter.AnimationType.SlideInBottom);

rightAdapter.setAnimationEnable(false);

switch (position) {

case 1:

rightAdapter.setNewInstance(DataServer.getGuangxiList());

break;

case 2:

rightAdapter.setNewInstance(DataServer.getGuangzhouList());

break;

case 3:

// rightAdapter.setNewInstance(DataServer.getBeijingList());

break;

case 4:

// rightAdapter.setNewInstance(DataServer.getChongqingList());

break;

default:

rightAdapter.setNewInstance(DataServer.getFujianList());

break;

}

}

});

// 设置左边列表适配器

leftRecyclerview.setAdapter(leftAdapter);

}

/**

* 初始化右边适配器

*/

public void initRightAdapter() {

// 实例化右边适配器对象

rightAdapter = new SnackRightAdapter(DataServer.getFujianList());

// 设置动画效果

rightAdapter.setAnimationEnable(true);

// rightAdapter.setAnimationFirstOnly(false);

rightAdapter.setAnimationWithDefault(BaseQuickAdapter.AnimationType.SlideInRight);

// 设置尾部

rightAdapter.addFooterView(getFooterView());

// 点击item事件

rightAdapter.setOnItemClickListener(new OnItemClickListener() {

@Override

public void onItemClick(@NonNull BaseQuickAdapter<?, ?> adapter, @NonNull View view, int position) {

Snack snack = (Snack) adapter.getItem(position);

DetailActivity.actionStart(getContext(), snack);

}

});

// 左边列表加入书架点击事件

rightAdapter.addChildClickViewIds(R.id.snackRightAddBtn);

rightAdapter.setOnItemChildClickListener((adapter, view, position) -> {

Snack snack = (Snack) adapter.getItem(position);

if (view.getId() == R.id.snackRightAddBtn) {

if (!MyApplication.getCartSnacks().contains(snack)) {

// 添加到书架

snack.setCount(1);

MyApplication.getCartSnacks().add(snack);

Tips.show("已添加" + snack.getName() + "到书架");

} else {

Tips.show("已在书架中,不能重复添加");

}

}

});

// 设置右边列表适配器

rightRecyclerView.setAdapter(rightAdapter);

}

  1. SQLite数据库表设计(格式如下,一个数据表对应一个表格)
字段含义类型
name书籍名称string
price书籍热度double
Image书籍图片Int
detail书籍详情string
列名数据类型长度允许空说明
usernamevarchar20N用户名
passwordvarchar30Y密码
addressvarchar100N收货地址
idint10N编号
headimageint100Y头像

5.调查的App界面中你觉得哪些设计不合理,你是如何改进的(选做)

首页列表在不同设备显示的比例不同,可能导致美观度不够,可以进一步根据不同设备进行适配

  1. 测试用例
  2. 搜索

输入:“黑科技1”

搜索结果:

ec93416d4774a87ac4b58b2d641cc25c.png

(2)加入书架

输入:点击加入书架

结果文字:提示成功加入书架

  1. 总结(不少于500字,本次调查目的、过程、开发经历等)

1)通过半个学期的学习,基本掌握了Android应用程序开发的一般流程。对常用控件基本掌握其用法,对其事件的监听方法也基本掌握。学习Android不仅是对前沿开发技术的了解,也是对编程知识的一次提升。

2)通过学习Android的控件、布局、Activity、Service等一系列基础知识,对整个Android的开发有了大致的了解。例如:要的布局(或者控件),在学习界面中,我发现Android为我们提供了很好的类似反射机制,通过Layout文件夹下的配置文件,可以快速的形成界面,在配置文件可以设置属性或者样式都是很快捷方便对比较特殊的界面也可以通过处理嵌入到指定的界面,同样你可以通过java代码直接创建View进行添加,不过这种方式比较复杂。

3)对一些点击、选中、按键等处理的事件,界面之间的跳转Intent管理,通过Bundle对数据在界面之间进行传输。

android是一种很错的手机系统,使用起来简单,而且可以根据自己的需求选择适合自己的版本,非常的方便。我要多多学习关于android的知识,在未来,将android系统研发的更加人性化,使用起来更加的舒适。

 

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/7010.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

三步学会如何构建平衡二叉树(简单好理解)

何为平衡二叉树? 首先回顾一下&#xff0c;什么是平衡二叉树&#xff08;亦被称为AVL树&#xff0c;Adelson-Velskii and Landis&#xff09;。平衡二叉树主要具有以下三个特点&#xff1a; 1. 平衡二叉树首先要符合搜索二叉树的特点&#xff1a;即左子树的值比根节点小&…

排序算法之归并排序

目录 归并排序递归实现 思想 图解 代码 归并排序的非递归版本 基本思想&#xff1a; 代码 归并排序递归实现 思想 最主要的相当于二叉树遍历中的后序遍历。 ①将数组分割成多个小区间&#xff08;当只有一个元素或者并不存在的时候就不用再分割了&#xff09; ②对每一…

某工控图片上传服务 CPU 爆高分析

一&#xff1a;背景 1.讲故事 今天给大家带来一个入门级的 CPU 爆高案例&#xff0c;前段时间有位朋友找到我&#xff0c;说他的程序间歇性的 CPU 爆高&#xff0c;不知道是啥情况&#xff0c;让我帮忙看下&#xff0c;既然找到我&#xff0c;那就用 WinDbg 看一下。 二&…

Linux进程概念和控制(必备知识)

文章目录1、冯诺依曼体系结构2、操作系统3、进程<1>进程的创建<2>进程查看<3>进程状态<4>进程优先级<5> 进程地址空间4、环境变量5、进程控制<1>进程终止<2>进程等待<3>进程替换1、冯诺依曼体系结构 我们常见的计算机&#x…

软考 - 软件工程

软件过程基本概述 基本要素 方法工具过程 软件过程模型 能力成熟度模型CMM 能力成熟度模型CMMI 统一过程UP模型 针对大型项目 三大特别 用例和风险驱动以架构为中心迭代并且增量 四个阶段 起始&#xff1a;确认需求和风险评估精化&#xff1a;核心架构设计构建&#xff1a;构…

Linux内核开发 | Linux内核目录结构分析(5.4.32)

文章目录1. arch2. block3. certs4. crypto5. Documentation6. drivers7. fs8. include9. init10. ipc11. kernel12. lib13. mm14. net15. samples16. scripts17. security18. sound19. tools20. usr21. virt本文以Linux主线5.4.32内核版本进行分析。1. arch 该目录下包含了li…

【ROS】机械人开发--ROS工作空间与功能包

机械人开发--ROS工作空间与功能包一、ROS工作空间1.1 概念1.2 创建工作空间1.3 编译工作空间1.4 设置环境变量1.5 添加环境变量二、功能包2.1 概念2.2 功能包的内容2.3 创建功能包三、CMakeLists.txt文件四、package.xml文件一、ROS工作空间 1.1 概念 工作空间&#xff08;wo…

以“新IT”助“数智融合”,联想推开“智能化转型”下半场的大门

作者 | 曾响铃 文 | 响铃说 近年来&#xff0c;我国对数字化的重视达到前所未有的高度&#xff0c;从“十四五”规划纲要首次将数字经济单独列为一篇&#xff1b;到二十大报告中指出&#xff1a;“坚持把发展经济的着力点放在实体经济上”、“促进数字经济和实体经济深度融合…

SpringMVC学习篇(五)

SpringMVC之json数据传递 1.1 准备工作 1.1.1 导入lombok依赖(方便写实体类) <dependency><groupId>org.projectlombok</groupId><artifactId>lombok</artifactId><version>1.18.24</version></dependency>1.1.2 导入mvc js…

mysql经典案例带解析(你没见过的全新版本)55题

首先给出初始表格 表格创建命令 create table emp(id int primary key auto_increment,name varchar(20),job varchar(20),manager int,hiredate date,sal double(8,2),comm double(6,2),dept_id int)charsetutf8;create table dept(id int primary key auto_increment,nam…

AcrelEMS-BP生物制药工厂能效管理系统

安科瑞 华楠 聚焦全厂能源采集、监控、分析、调度,降本提效,实现企业双碳目标;致力于全域化设备监视、巡检、故障报警、工单管理,运维优化,提升设备使用效率。 综合自动化系统 110kV及以下变电站综合自动化系统实现遥测、遥信、遥控、事故追忆、故障录波、安全防护、上传调度 …

搭建接口平台YApi详解(含搭建node环境)

公司之前使用的doclever 感觉不太好用&#xff0c;打算私有化部署YApi 步骤 准备使用yapi的可视化部署&#xff0c;需要有node环境 安装node环境 测试一下有没有node环境 如下就是有 [root192 sbin]# node -v v14.17.0 [root192 sbin]# npm -v 6.14.13没有就创建 cd /us…

webpack5 打包环境抽离分环境基本配置

两种开发模式 开发模式&#xff1a;代码能编译自动化运行生产模式&#xff1a;代码编译优化输出Webpack 基本功能 开发模式&#xff1a;可以编译 ES Module 语法生产模式&#xff1a;可以编译 ES Module 语法&#xff0c;压缩 js 代码Webpack 配置文件5 个核心概念 entryoutput…

FL Studio21最新演示测试版本下载FL水果V21

FL Studio是市场上最受欢迎的音乐制作软件之一。它被世界各地的许多专业制作人和艺术家使用。FL Studio音乐软件的每日下载量超过40&#xff0c;000次&#xff0c;其增长是不断的&#xff0c;而且没有迹象表明很快就会放缓。随着新的 FL 产品版本在 Windows 和 Mac 上不断发布&…

25.gateway的Filter 过滤器工厂(springcloud)

1 概述 gateway 里面的过滤器和 Servlet 里面的过滤器&#xff0c;功能差不多&#xff0c;路由过滤器可以用于修改进入Http 请求和返回 Http 响应2 分类 2.1 按生命周期分两种 pre 在业务逻辑之前 post 在业务逻辑之后2.2 按种类分也是两种 GatewayFilter 需要配置某个路由&…

阿里同步神器Canal原理+安装+快速使用

文章目录前言Canal简介MySQL主备复制原理canal 工作原理1、MySQL配置1.1 修改MySQL配置支持binloglog-binmysql-binbinlog-formatROW1.2 创建canal用户1.3 重启mysql服务1.4 基本的查看binlog命令2、下载安装canal2.1 解压canal2.2 配置与mysql信息2.3 启动canal3. 快速使用3.1…

【文件传输】实现下载

文章目录下载&#xff1a;下载的过程&#xff1a;单文件传输&#xff1a;多文件传输&#xff1a;下载&#xff1a; 如下图&#xff1a; 如果刚发完size&#xff0c;客户端不回复ok&#xff0c;直接发送数据&#xff0c;会出现粘包问题。如果想要确保客户端收到数据&#xff0…

流行的前端开源报表工具有哪些?适合在企业级应用的

前端开源报表工具有很多&#xff0c;但是如果是企业级应用真心不建议选用。比如非要选择开源的报表工具&#xff0c;你需要投入一个或多个程序员来做这个事情&#xff0c;他们还得先学习这个开源报表工具的界面、功能使用操作等等&#xff0c;尤其是很多开源工具的学习资料还是…

dpdk Vhost 库

1、 怎么实现vhost_dev的VhostOps的vhost_set_vring_kick和vhost_set_vring_call&#xff1b; vhost_net kernel方式的vhost_set_vring_kick和vhost_set_vring_call依赖于/dev/vhost_net的ioctl。 有两种实现方式&#xff1a; 1、guest是server&#xff0c;dpdk vhost user是…

Sourcetree的实际使用开发笔记

目录 前言 一、Sourcetree是什么 二、Sourcetree使用步骤 1.创建仓库 2.拉取和推送的使用 3.创建新的自己的分支 三、使用Sourcetree来进行不提交本地的代码&#xff0c;而获取最新的代码拉取 总结 前言 本章主要是记录一下Sourcetree的基本使用功能。 一、Sourcetree是…