自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(21)
  • 收藏
  • 关注

原创 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 91

原创 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 117

原创 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 126

原创 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 103

原创 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 91

原创 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 56

原创 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 55

原创 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 75

原创 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 67

原创 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 135 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 69

原创 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 58

原创 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 66

原创 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 88

原创 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 98

转载 c#之列表List

观看siki学院的列表视频列表List的创建和使用1,创建列表(列表可以存储任何类型的数据,在创建列表对象的时候首先要指定你要创建的这个列表要存储什么类型的)(泛型)创建一个空的列表,通过类型后面的&lt;&gt;来表示这个列表存储的数据的类型List&lt;int&gt; scoreList = new List&lt;int&gt;();创建一个列表,里面的初始值有三个分别为1,2...

2019-02-28 16:05:17 2353

转载 c#初级之函数

观看siki学院关于c#语言的讲解**定义和使用函数**定义函数static void Write()//void表示空的返回值,就是不需要返回值{ Console.WriteLine("Text output from function ."); //这里是函数体也叫做方法体,这里可以写0行,一行或者多行。}函数的使用static void Main(){ ...

2019-02-26 21:09:14 269

转载 c#初级之字符的Unicode值的作用,使用@不识别转义字符,return,foreach

观看siki学院的视频所作的笔记字符的Unicode值的作用Unicode是一个16进制的数字,表示这个字符在内存中以哪个数字存储也可以使用Unicode来代表一个转义字符 (\u加上十六进制值)Console.WriteLine(&amp;quot;I\'s siki!&amp;quot;); Console.WriteLine(&amp;quot;I\u0027s siki!&amp;quot;);上面的 ’ 号可以用字符的Unicode值u0027代...

2019-02-17 11:45:36 874

转载 c#初级练习题(上)

siki学院的习题及答案1.在Main方法中定义变量,用这些变量存储游戏中一个敌人应该有的一些属性,定义尽可能多的变量。 int hp; float x; float y; float z; float speed;2.接受用户输入的两个整数,存储到两个变量里面,交换变量存储的值。string str1 = Console.Readline();int num1 = Conve...

2019-02-08 20:35:07 5764

转载 c#中级

观看siki学院的总结**类的定义**类中的数据和函数称为类的成员数据成员函数成员数据成员:数据成员是包含类的数据–字段,常量和事件的成员。函数成员:函数成员提供了操作类中数据的某些功能。(方法,属性,构造方法和终结器(析构方法),运算符,和索引器)**类的字段和方法**字段的声明访问修饰符 类型 字段名称;**方法的声明**访问修饰符 返回值类型 方法名称...

2019-02-03 17:37:00 391

转载 c#初级

c#初级siki学院的c#语言初级1:变量变量创建 : type表示使用什么类型的盒子,来存储数据name表示存储这个盒子的名字;变量类型:整形:sbyte,byte,short,ushort,int,uint,long,ulong小数:float,double,decimal非数值类型:char,bool,string命名规范:驼峰命名法2:转义字符如果不想识别字符中的转义...

2019-02-01 17:05:14 339

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除