毕设
jjlovesk
这个作者很懒,什么都没留下…
展开
-
vue02
双向绑定<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title></head><body><!-- vue对象的html模版--><div id="app"> <input type="text" v-model="num">原创 2020-12-29 17:24:53 · 103 阅读 · 0 评论 -
vue01
vue入门案例<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title></head><body><!-- vue对象的html模版--><div id="app"> <!-- 花括号:js表达式--> <h1>大家好原创 2020-12-29 17:00:00 · 128 阅读 · 0 评论 -
SpringCloud06
zuul基本使用server: port: 10010spring: application: name: itcast-zuulzuul: routes: service-porvider: #路由名称,可以随便写,习惯上服务名 path: /service-provider/** url: http://localhost:8082package cn.itcast.zuul;import org.springframework.原创 2020-12-23 21:37:42 · 137 阅读 · 0 评论 -
SpringCloud06
feign使用快速入门package cn.itcast.service;import org.springframework.boot.SpringApplication;import org.springframework.boot.autoconfigure.SpringBootApplication;import org.springframework.context.annotation.Bean;import org.springframework.web.client.Rest原创 2020-12-23 20:40:45 · 115 阅读 · 0 评论 -
SpringClound05
服务降级package cn.itcast.service;import org.springframework.boot.SpringApplication;import org.springframework.boot.autoconfigure.SpringBootApplication;import org.springframework.context.annotation.Bean;import org.springframework.web.client.RestTemplate;原创 2020-12-22 22:10:21 · 102 阅读 · 0 评论 -
SpringCloud04
改造微服务注册到eureka注册中心注册服务端server: port: 8081spring: datasource: url: jdbc:mysql:///mybatis username: root password: application: name: service-provider #将来会作为微服务的名称mybatis: type-aliases-package: cn.itcast.service.pojoeureka: cl原创 2020-12-22 16:26:02 · 67 阅读 · 0 评论 -
SpringCloud03
搭建eureka注册中心pom.xml<?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 https://maven.apac原创 2020-12-22 15:23:49 · 68 阅读 · 0 评论 -
SpringCloud02
搭建服务提供方application.ymlserver: port: 8081spring: datasource: url: jdbc:mysql:///mybatis username: root password:mybatis: type-aliases-package: cn.itcast.service.pojopackage cn.itcast.service;import org.mybatis.spring.annotation.Ma原创 2020-12-22 12:01:48 · 87 阅读 · 0 评论 -
SpringClound01
http客户端import org.apache.http.client.methods.HttpGet;import org.apache.http.impl.client.BasicResponseHandler;import org.apache.http.impl.client.CloseableHttpClient;import org.apache.http.impl.client.HttpClients;import org.junit.Before;import org.juni原创 2020-12-22 10:34:20 · 73 阅读 · 0 评论 -
Springboot06
mybatispom.xml<?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.a原创 2020-12-21 22:48:08 · 152 阅读 · 1 评论 -
Springboot05
整合SpringMVC修改端口application.propertiesserver.port=8888package cn.itcast.user.controller;import org.springframework.stereotype.Controller;import org.springframework.web.bind.annotation.GetMapping;import org.springframework.web.bind.annotation.Reque原创 2020-12-21 21:33:34 · 79 阅读 · 0 评论 -
Springboot04
springboot属性注入application.propertiesjdbc.driverClassName=com.mysql.jdbc.Driverjdbc.url=jdbc:mysql://127.0.0.1:3306/leyoujdbc.username=rootjdbc.password=123package cn.itcast.springboot.config;import org.springframework.beans.factory.annotation.Val原创 2020-12-21 15:50:23 · 70 阅读 · 0 评论 -
springboot03
java配置package cn.itcast.springboot.config;import com.alibaba.druid.pool.DruidDataSource;import org.springframework.beans.factory.annotation.Value;import org.springframework.context.annotation.Bean;import org.springframework.context.annotation.Config原创 2020-12-21 12:26:45 · 76 阅读 · 0 评论 -
Springboot02
01 springboot入门程序优化Hello2Controllerpackage cn.itcast.springboot.controller;import org.springframework.web.bind.annotation.GetMapping;import org.springframework.web.bind.annotation.RequestMapping;import org.springframework.web.bind.annotation.RestCon原创 2020-12-21 11:23:21 · 98 阅读 · 0 评论 -
Springboot01
01 springboot democontrollerpackage cn.itcast.springboot.controller;import org.springframework.boot.SpringApplication;import org.springframework.boot.autoconfigure.EnableAutoConfiguration;import org.springframework.web.bind.annotation.GetMapping;imp原创 2020-12-21 10:43:04 · 110 阅读 · 0 评论