python筆記 1.數(shù)據(jù)類型 2.整形 int 3.浮點(diǎn)型 float 4.布爾 bool:true false 5.字符串str,用單引號(hào)表...
直接復(fù)制全文到springboot中的ApplicationTests,修改TODO的地方 import org.junit.jupiter.a...
需要注意的地方:在獲取完網(wǎng)絡(luò)之后,需要Reachability移除這個(gè)對(duì)象,[self removeNetworkListener], 不然會(huì)一...
pom依賴 <dependency> <groupId>com.alipay.sdk</groupId> alipay-sdk-java <ve...
1.pom.xml 配置版本號(hào) 名字 <groupId>com.yixiatech</groupId> manghe <version>1.0....
什么是AOP? AOP英文全稱:Aspect Oriented Programming(面向切面編程、面向方面編程),其實(shí)說(shuō)白了,面向切面編程就...
準(zhǔn)備工作 1.創(chuàng)建數(shù)據(jù)庫(kù)表 dept_log 日志表: create table dept_log( id int auto_increme...
Transactional注解 @Transactional作用:就是在當(dāng)前這個(gè)方法執(zhí)行開(kāi)始之前來(lái)開(kāi)啟事務(wù),方法執(zhí)行完畢之后提交事務(wù)。如果在這個(gè)...
攔截器的使用步驟和過(guò)濾器類似,也分為兩步: 1.定義攔截器 2.注冊(cè)配置攔截器 自定義攔截器:實(shí)現(xiàn)HandlerInterceptor接口,并重...