原创 雲服務器搭建Java環境+Tomcat8.5+MySQL

一、mariadb數據庫安裝: yum -y install mariadb mariadb-server systemctl start mariadb //啓動 mysql_secure_installation

原创 Ionic Framework學習(一)

1.安裝 (1)安裝nodejs (2)新建文件夾,shift+右鍵,打開命令行:npm install -g ionic (3)Start an App:ionic start myApp tabs (4)運行cd myApp,ioni

原创 Spring Data Jpa

1.pom.xml <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</

原创 Spring Boot集成Swagger2

基於IDEA,JDK1.8 效果展示: 一、導入Maven包 <dependency> <groupId>org.springframework.boot</groupId>

原创 Angular7引入Font Awesome

1.下載包 npm install --save font-awesome angular-font-awesome 2.導入相應的module import { AngularFontAwesomeModule } from 'an

原创 SpringBoot集成MyBatis

項目目錄(以下只粘貼有用到的代碼): 1.創建自己的數據庫(跳過) 2.引入依賴包 <dependency> <groupId>org.springframework.boot<

原创 虛擬支付米大師

官方文檔:https://developers.weixin.qq.com/minigame/dev/api-backend/midasCancelPay.html 簽名分析(官網簽名介紹:https://developers.weixi

原创 shiro學習(一)

一、使用ini完成認證 1.maven依賴 <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <vers

原创 小遊戲 虛擬支付 米大師 90009

詳細錯誤: {"errcode":90009,"errmsg":"mp_sig error hint: [vmRqGa09211508]"} 檢查: 1.查看簽名順序是否一致, 2.access_token不允許放在body裏,只能放在u

原创 Spring注入的對象爲null

今天在開發的時候遇到的問題,Spring注入的對象總是爲null,拿不到. 解決方案: 1.檢查配置文件,查看該Controller有沒有在掃描的包中; 2.檢查有沒有地方new過這個對象(一般不會這麼做); 3.方法要以public修飾

原创 Cannot find name 'describe'. Do you need to install type definitions for a test runner?

ERROR in src/myApp/e2e/src/app.e2e-spec.ts(3,1): error TS2582: Cannot find name 'describe'. Do you need to install type

原创 Ionic Framework學習(二)

1.Utilities (1)Config 配置 用法: ①全局:         import { IonicModule } from '@ionic/angular';          @NgModule({       ...

原创 Ionic Framework學習

1.安裝 (1)安裝nodejs (2)新建文件夾,shift+右鍵,打開命令行:npm install -g ionic (3)Start an App:ionic start myApp tabs (4)運行cd myApp,ioni

原创 MyBatis實現高級結果映射

查詢語句 <select id="getUserList" resultType="userResult"> select * from smbms_user </select> 1.使用association實現一對一