其他电脑通过aliyun镜像配置的maven项目,下载到本地电脑时maven一直下载失败 先是考虑因为另一台电脑创建项目时依赖库已经配置了阿里云镜像, 于是我也在本项目中配置了同样的镜像 一、配置阿里云镜像...
python占位符
占位符%s既可以表示字符串str,还可以表示整数int,浮点数float; 占位符%d既可以表示整数int,还可以表示浮点数float(去除整数部分) 占位符%f既可以表示浮点数float,还可以表示整数int(默认保留6位小数) ...
uniapp使用onPullDownRefresh实现页面下拉刷新
这是在pages.json里 设置的全局下拉刷新效果 不推荐使用 一般用户都是刷新单个页面 "globalStyle": { "navigationBarTextStyle": "black", "navigationBarTitleText": "uni-app", "navigationBarBack...
PageHelper的使用方式
Step 1 => 添加依赖 <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper-spring-boot-starter</artifactId> <v...
js判断变量是否为 undefine,是否 null,
if(!!uni.getStorageSync("userInfo").openId){ console.log("有值") }else{ console.log("没有值") } !!写法,可以同时判断是否为undefine和null
uniapp-微信摇一摇功能开发
uniapp通过设备的“加速度计“功能来实现: https://uniapp.dcloud.net.cn/api/system/accelerometer 微信参考: https://developers.weixin.qq.com/community/develop/doc/000066be5d0d70228588c7b3c5b8...
SpringBoot结合SpringDoc 带有请求头(token)
一、maven配置: <dependency> <groupId>org.springdoc</groupId> <artifactId>springdoc-openapi-ui</artifactId> <version>1.5.12</version> ...
SpringBoot结合SpringDoc
SpringDoc介绍 SpringDoc基于swagger,并做了更多的对Spring系列各框架的兼容,用法上与Swagger3基本相同,并多了一些自己的配置,相较于Swagger3来说,更好用,支持也更好一点 开发环境 . JDK1.8. Spr...
Springboot2.6-7不兼容swagger3.0.0问题
记录下 Springboot2.6-7不兼容swagger3.0.0问题 spring5支持PathMatchConfigurer导致 Failed to start bean ‘documentationPluginsBootstrapper 启动报错解决方案1: appliaction.yml 添加配置 ...
pymysql模块的使用方式
一、建立连接并创建表 import pymysql # 连接database conn = pymysql.connect(host="127.0.0.1", port="3306", user="root",password="PXF8i7FmWmS5ErJ2",database="ba",charset="utf8") # 得到一个可以执...