- 博客(9)
- 资源 (1)
- 收藏
- 关注

原创 IDEA快速搭建一个SpringBoot Web项目、注入数据、单元测试、整合swagger
spring boot其实不是什么新的框架,它的设计是为了让你尽可能快的跑起来,它是基于Spring应用初始搭建,配置简洁明了。一、创建Spring Boot 项目1、选择File>New>project>Spring Initializr ,选择next2、填写基本信息,继续next3、选择Web>Spring Reactive Web4、...
2019-09-30 11:08:11
384

原创 springBoot 获取配置的方式(5种)
一、利用@PropertySource获取resource下面的资源,Environment获取属性@Configuration@EnableTransactionManagement@PropertySource(value = {"classpath:DBsource.properties"})public class DBBeanConfig { @Autowire...
2018-04-06 16:00:33
22791
1
原创 微信支付申请流程
1、手机网站支付申请微信支付(https://pay.weixin.qq.com/index.php/core/home/login?return_url=%2F)对应的支付权限,获取到商户id,app密钥等信息。 若是直接申请满足以下条件的公众号,在微信支付页面绑定该appid...
2020-06-04 14:14:42
902
原创 支付宝申请支付权限的流程
1、首先您需要在支付宝开放平台有一个账号(地址https://open.alipay.com/platform/home.htm)2、进入我的开放平台3、创建相应的应用4、设置公钥5、下载支付宝密钥生成器6、
2020-06-04 10:13:56
2070
原创 Gitbucket的使用
一、安装 把gitbucket.war放到tomcat的webapps下,去bin里启动tomcat,自动解压war包(在bin文件夹下命令行里输入startup启动,输入shutdown停止) 打开网页http://localhost:8080/gitbucket 登录账号:root 登陆密码:root二、使用1、新增账号2、删除账号(将账号设置为dis...
2020-04-01 09:53:17
2858
原创 SpringBoot之整合Mybatis
1、首先搭建起Spring Boot Web项目链接地址https://mp.youkuaiyun.com/postedit/1017566932、引入jar包<!-- mybatis开始 --><dependency> <groupId>org.mybatis.spring.boot</groupId> <ar...
2019-10-08 14:38:25
184
原创 ListView 里面的checkBox,当其中一个被选中,其余全不被选中
页面代码:public class MainFragment extends Fragment implements CityListAdapter.onSelectedCity { private ViewPager imagePager; private LinearLayout indicatorContainer; private View view;
2015-10-09 13:53:50
2725
原创 ViewPager不显示加载的图片或者报错
继承自PagerAdapter 的时候必须重写方法,否则会报异常。如图加蓝部分必须注释并且instantiateItem()方法返回的是单个视图,若是直接返回container是不会显示数据的
2015-10-03 07:35:20
1116
原创 错误日志:RadioGroup和RadioButton的对应问题
myPager.setCurrentItem(0);((RadioButton) bottom.getChildAt(0)).setChecked(true);bottom.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() { @Override public void onCheckedCh
2015-10-02 11:15:27
479
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人