1、多租户功能采用tenantId,后端拦截器自动拼接tenantId实现商家的数据隔离。 2、微信和手机号码登录功能: - 微信登录流程:wx.login获取code → 后端code2Session → 返回token - 手机号授权:open-type="getPhoneNumber" → 后端解密 → 绑定手机号 - JWT Token:包含userId、openid、userType、tenantId等claims - 角色切换:更新token中的userType,支持customer/merchant/player三种角色 --- ####
71 lines
2.1 KiB
XML
71 lines
2.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<parent>
|
|
<artifactId>aqroid</artifactId>
|
|
<groupId>cn.aqroid</groupId>
|
|
<version>3.9.1</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>aqroid-framework</artifactId>
|
|
|
|
<description>
|
|
framework框架核心
|
|
</description>
|
|
|
|
<dependencies>
|
|
|
|
<!-- SpringBoot Web容器 -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
</dependency>
|
|
|
|
<!-- SpringBoot 拦截器 -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
|
</dependency>
|
|
|
|
<!-- 阿里数据库连接池 -->
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>druid-spring-boot-starter</artifactId>
|
|
</dependency>
|
|
|
|
<!-- 验证码 -->
|
|
<dependency>
|
|
<groupId>pro.fessional</groupId>
|
|
<artifactId>kaptcha</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>servlet-api</artifactId>
|
|
<groupId>javax.servlet</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<!-- 获取系统信息 -->
|
|
<dependency>
|
|
<groupId>com.github.oshi</groupId>
|
|
<artifactId>oshi-core</artifactId>
|
|
</dependency>
|
|
|
|
<!-- 系统模块-->
|
|
<dependency>
|
|
<groupId>cn.aqroid</groupId>
|
|
<artifactId>aqroid-system</artifactId>
|
|
</dependency>
|
|
|
|
<!-- JSqlParser SQL解析器 -->
|
|
<dependency>
|
|
<groupId>com.github.jsqlparser</groupId>
|
|
<artifactId>jsqlparser</artifactId>
|
|
<version>4.6</version>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</project> |