Easter79 Easter79
3年前
tp3.2读取excel文件
使用PHPExcel时,首先要下载PHPExcel并放在ThinkPHP/Library/Vendor下1.创建html文件(文件上传按钮)<formaction"{:U('控制器名/方法名')}"method"post"enctype"multipart/formdata" 
Wesley13 Wesley13
3年前
java每日一练
题目:求saaaaaa...aaa...a的值,其中a是一个数字,例如222222222222222(此时共有五个数相加),几个数相加由键盘控制importjava.util.Scanner;publicclassSumTest{publicstaticvoidmain(S
Easter79 Easter79
3年前
springboot2启动信息去除CONDITIONS EVALUATION REPORT后引发的思考
前言最近启动一个springboot2.2版本项目时,发现控制台输出17:22:05mainDEBUGo.s.b.f.s.DefaultListableBeanFactoryCreatingsharedinstanceofsingletonbean'org.springframework.cloud.ut
Stella981 Stella981
3年前
IDEA 使用rest client测试
一、进入rest控制台idea导航栏ToolsHTTPClientTestRESTFULWebService如图:!(https://oscimg.oschina.net/oscnet/1bcfcbd54fa09b138b8666e829cb5d213d6.png)
Stella981 Stella981
3年前
SpringBoot启动报错Failed to determine a suitable driver class
从SpringBootInitializer(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fstart.spring.io%2F) 新建SpringBoot项目添加一个简单控制器,启动报错如下:._________
Wesley13 Wesley13
3年前
mySql版本的相关问题:com.mysql.cj.jdbc.Driver和com.mysql.jdbc.Driver
Mysql版本的相关问题:com.mysql.cj.jdbc.Driver和com.mysql.jdbc.Driver1.在使用mysql时,控制台日志报错如下:Loadingclasscom.mysql.jdbc.Driver'.Thisisdeprecated.Thenewdriverclassis
Wesley13 Wesley13
3年前
MySQL输入密码后闪退的解决方法
控制面板系统和安全管理工具服务mysql 开启!(https://static.oschina.net/uploads/space/2017/0423/191155_biFl_3285916.png)!(https://static.oschina.net/uploads
Stella981 Stella981
3年前
PhoneGap中设置SplashScreen(启动页、闪屏)
PhoneGap对于控制SplashScreen可以使用cordovapluginsplashscreen(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fgithub.com%2Fapache%2Fcordovapluginsplashscreen)插件https://gi
Stella981 Stella981
3年前
Spring Boot实践——统一异常处理
注解说明@ControllerAdvice,是Spring3.2提供的新注解,从名字上可以看出大体意思是控制器增强。让我们先看看@ControllerAdvice的实现:/Specializationof{@linkComponent@Component}forclassesthatdecl
Stella981 Stella981
3年前
Android ImageView 的scaletype属性详细介绍
android:scaleType是控制图片如何resized/moved来匹对ImageView的size,我们可以这样啦使用1.<ImageViewandroid:id"@id/img\_weibo\_img"2.android:layout\_width"fill\_parent"3.and