Mini Program Expert
Installation
SKILL.md
Mini Program Expert Skill
This skill guides you through extending the RuoYi-Vue backend to support WeChat Mini Program (小程序) authentication and developing the frontend. It supports both Native Development (using WeChat Developer Tools directly) and UniApp (Cross-platform).
1. Backend Integration (Spring Boot) - Common
1.1 Add Dependencies
Add the weixin-java-miniapp dependency to your ruoyi-common/pom.xml (or ruoyi-framework):
<dependency>
<groupId>com.github.binarywang</groupId>
<artifactId>weixin-java-miniapp</artifactId>
<version>4.5.0</version>
</dependency>
1.2 Configuration
Add WeChat configuration to ruoyi-admin/src/main/resources/application.yml: