posted @ 2017-08-24 22:02
08 2017 档案
摘要:vuejs数据双向绑定 下面我们来实现数据双向绑定的例子,我们使用vuejs的v-model属性 注意 v-model 指令在表单控件元素上创建双向数据绑定。它会根据控件类型自动选取正确的方法来更新元素。 vuejs双向绑定并不能适用于所有的html表单,限制为input、select、textar
阅读全文
摘要:SpringCloud提供了微服务的一整套组件,SpringCloud以SpringBoot为基础。 配置文件可以使用application.properties文件,也可以是.yml格式的文件
阅读全文
posted @ 2017-08-19 15:22
摘要:required Whether the parameter is required. 是否需要参数。 Default is true, leading to an exception thrown in case of the parameter missing in the request. S
阅读全文
posted @ 2017-08-10 08:29
摘要:resultMap 的属性包括: id :当前命名空间中的一个唯一标识,用于标识一个 resultMap type:类的全限定名, 或者一个类型别名 autoMapping:为这个ResultMap开启或者关闭自动映射,该属性会覆盖全局的属性 autoMappingBehavior。默认值为:uns
阅读全文
posted @ 2017-08-07 16:51
摘要:springboot springmvc 注解 RequestMapping PathVariable controller层 spring @Autowired @Service 服务层 @Repository 数据访问层 mybatis @Repository ...
阅读全文
posted @ 2017-08-07 15:02
摘要:Spring 2.5 引入了一种基于注解的编程模式,注解支持 Servlet MVC 和 Portlet MVC。控制器可以不必继承特定的基类或实现特定的接口。 @RequestMapping 常用属性 (1)value 指定请求的实际地址,即 value 属性将 URL 映射到方法上。 (2)me
阅读全文
posted @ 2017-08-06 15:16
浙公网安备 33010602011771号