Skip to content

tm0154/SpringCloud

Repository files navigation

spring-cloud-init-frame

介绍

springCloud初始化最基本框架

软件架构

软件架构说明

安装教程

打包命令 全部打包 mvn clean package -Dmaven.test.skip=true -U 清除缓存 并强制打包

使用说明

选择配置文件命令 java -jar initialization-eureka-1.0-SNAPSHOT.jar --spring.profiles.active=server2

mysql脚本

/*
 Navicat Premium Data Transfer

 Source Server         : 本地连接
 Source Server Type    : MySQL
 Source Server Version : 80012
 Source Host           : localhost:3306
 Source Schema         : testDatabase

 Target Server Type    : MySQL
 Target Server Version : 80012
 File Encoding         : 65001

 Date: 13/03/2020 15:07:34
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for product
-- ----------------------------
DROP TABLE IF EXISTS `product`;
CREATE TABLE `product` (
  `id` int(11) DEFAULT NULL,
  `product_name` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- ----------------------------
-- Table structure for user
-- ----------------------------
DROP TABLE IF EXISTS `user`;
CREATE TABLE `user` (
  `id` int(11) DEFAULT NULL,
  `name` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- ----------------------------
-- Records of user
-- ----------------------------
BEGIN;
INSERT INTO `user` VALUES (1, '7676879');
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;

About

springCloud初始化框架

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published