当前位置:网站首页>Live classroom system 04 create service module
Live classroom system 04 create service module
2022-07-24 03:55:00 【z754916067】
effect
service The function of the module is to operate the background , Instead of interacting with the front-end interface data , That is controller Things about .
establish service modular

Introduce dependencies
stay service Under folder pom.xml Introduce dependency , In the end the following :
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>ggkt_parent</artifactId>
<groupId>com.class</groupId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>service</artifactId>
<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
</properties>
<dependencies>
<!-- Data carriers -->
<dependency>
<groupId>com.class</groupId>
<artifactId>model</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
<!--web Need to start project -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<!--mybatis-plus-->
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
</dependency>
<!--mysql-->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
</dependency>
<!-- Service registration -->
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
</dependency>
<!-- The service call feign -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-openfeign</artifactId>
</dependency>
<!-- flow control -->
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
</dependency>
<!-- Developer tools -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<optional>true</optional>
</dependency>
</dependencies>
</project>
establish service_vod modular
Delete src Folder , stay service Now create a sub module service_vod, Attention or maven project 
边栏推荐
- Technical dry goods | how difficult is data processing? Take a look at the solution provided by mindspire!
- 一篇搞定CAS,深度讲解,面试实践必备
- Leetcode-382. random nodes of linked list
- Istio architecture extension mechanism
- Extend the connection boundary, expand the business scope, and comprehensively move towards the era of Intelligent Cloud network 2.0
- Exploration of new mode of code free production
- Master chip csu18m92 develops intelligent scale scheme
- C語言經典練習題(2)——“冒泡排序(Bubble Sort)“
- C语言经典练习题(2)——“冒泡排序(Bubble Sort)“
- DOM related method concepts
猜你喜欢

MySQL service 1 master 2 slave, master master, MHA configuration detailed steps

Worthington lysozyme technical description and literature reference

Common properties and traversal of trees and binary trees

The local picture cannot be displayed after the uniapp H5 is packaged

6-14 vulnerability exploitation rpcbind vulnerability exploitation

Preliminary use of swagger2

"Wei Lai Cup" 2022 Niuke summer multi school training camp 1 (summary of some topics)

三菱转以太网模块远创智控YC8000-FX 连接 MCGS操作方法

An accident caused by MySQL misoperation, and "high availability" can't withstand it

(5) Digital electricity formula simplification method
随机推荐
The value is 0. The other part includes but is not limited to the following. This question is
Network parameter management
Complex nested object pool (5) -- unified management and expansion of object pool
Pat grade a 1041 be unique
Ros2 common command line tools organize ros2cli
Pat grade a 1043 is it a binary search tree
监听div的滚动事件 @scroll
MySQL cannot be accessed. Navicat prompt: is not allowed to connect to this MySQL server
Three cluster schemes of redis
Active vibration reduction system of hub motor and its vertical performance optimization
值为 0 流程,另一部分看括但不限于如下这题是
MySQL service 1 master 2 slave, master master, MHA configuration detailed steps
Matlab sound signal processing frequency diagram signal filtering and playing sound
Developers share mindspire Lite experience, one click image segmentation
C语言经典练习题(2)——“冒泡排序(Bubble Sort)“
Batch visual target detection callout box -- Yolo format dataset
SqlServer 备份还原
训练数据量不只适用于.z据接收方对数字视
三菱转以太网模块远创智控YC8000-FX 连接 MCGS操作方法
mongo从开始到安装以及遇到的问题