码迷,mamicode.com
首页 >  
搜索关键字:required    ( 3455个结果
SpringBoot: Field xxx in xxx required a bean of type 'xxx' that could not be found.
Description: Field kafkaUtil in cn.arebirth.uesr.consumer.controller.TestUserController required a bean of type 'cn.arebirth.common.utils.KafkaUtil' ... ...
分类:编程语言   时间:2020-01-03 21:21:08    阅读次数:66
spring 常用标签
1:@RequestParam作用:吧请求中指定名称的参数给控制器中的形参赋值属性:required:请求参数中是否必须提供此参数。默认值:true,表示必须提供条件,否则报错,改为false,不会报错当没有接到值不会报错,会显示null2:@RequestBody作用:用于获取请求体内容。直接使用得到是key=value&key=value..结构数据get请求不适用属性:require
分类:编程语言   时间:2020-01-03 00:10:39    阅读次数:76
基础服务系列-Jupyter Install TensorFlow
TensorFlow is a deep learning framework that provides an easy interface to a variety of functionalities, required to perform state of the art deep lea ...
分类:其他好文   时间:2020-01-02 14:14:06    阅读次数:108
关于PROPAGATION_NESTED的理解
查了一些资料,感觉并不能很清晰地表达出两者的差异。所以打算自己总结一下。 先来看一下Spring中对于事务传播性的几种定义 PROPAGATION_REQUIRED -- 支持当前事务,如果当前没有事务,就新建一个事务。这是最常见的选择。PROPAGATION_SUPPORTS -- 支持当前事务, ...
分类:其他好文   时间:2020-01-01 13:37:20    阅读次数:396
常见HTTP状态码
常见HTTP状态码 200 OK 301 Moved Permanently 302 Found 304 Not Modified 307 Temporary Redirect 400 Bad Request 401 Unauthorized 403 Forbidden 404 Not Found ...
分类:Web程序   时间:2019-12-30 23:21:54    阅读次数:109
Sping框架-使用注解实现自动装配
通过上面的学习,现在我们进入实战演练,上代码 1 package dao.impl; 2 3 import org.springframework.stereotype.Repository; 4 5 import dao.UserDao; 6 import entity.User; 7 8 /** ...
分类:其他好文   时间:2019-12-30 23:19:34    阅读次数:75
springBoot 整合 swagger 展示返回对象的嵌套属性文档注释
spring boot 处理 swagger 嵌套数据展示在开发的过程中,我们会常常使用swagger做我们的在线文档.我们会在对象的属性上使用@ApiModelProperty 等api注解,但是遇到对象嵌套的时候,如何返回一个嵌套的json文档就需要我们做一些简单的处理 如果只在对象某个属性上使 ...
分类:编程语言   时间:2019-12-30 17:15:43    阅读次数:678
用户登陆装饰器和页面跳转(包含mixin的使用)
用login_required装饰器来辨别用户是否登陆,如果没有登陆,则需要进行登录才能继续访问当前页面(有些页面是需要用户登陆后才可以访问);如果已经登陆,则可以继续访问。 首先配置 如果用户没有登陆,login_required装饰器会默认一个地址进行跳转,所以要在settings中进行配置需要 ...
分类:其他好文   时间:2019-12-29 20:19:12    阅读次数:77
Ant Design of Vue —— setFieldsValue方法 动态操作Switch组件
在开发中经常使用Form组件管理表单,这次想通过form提供的setFieldsValue()方法动态改变Switch组件状态,却没有生效。 查阅官方文档之后,发现有如下说明: 加入valuePropName属性之后,就可以使用动态操作Switch组件了。 在开发中经常使用Form组件管理表单,这次 ...
分类:其他好文   时间:2019-12-29 12:52:14    阅读次数:1278
Baozi Leetcode solution 72. Edit Distance
Problem Statement Given two words word1 and word2, find the minimum number of operations required to convert word1 to word2. You have the following 3 ...
分类:其他好文   时间:2019-12-29 11:21:04    阅读次数:66
3455条   上一页 1 ... 35 36 37 38 39 ... 346 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!