feat(channel): 各通道模块补充 Spring Boot 自动发现与组件/Mapper 扫描

This commit is contained in:
bootx
2026-06-13 22:53:24 +08:00
parent 1fa8d80ae5
commit 202c40671c
10 changed files with 85 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
package org.dromara.daxpay.channel.alipay;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.context.annotation.ComponentScan;
/// # 支付宝支付实现
///
@AutoConfiguration
@ConfigurationPropertiesScan
@MapperScan(annotationClass = Mapper.class)
@ComponentScan
public class AlipayChannelApp {
}

View File

@@ -0,0 +1 @@
org.dromara.daxpay.channel.alipay.AlipayChannelApp

View File

@@ -0,0 +1,16 @@
package org.dromara.daxpay.channel.douyin;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.context.annotation.ComponentScan;
/// # 抖音支付实现
///
@AutoConfiguration
@ConfigurationPropertiesScan
@MapperScan(annotationClass = Mapper.class)
@ComponentScan
public class DouyinChannelApp {
}

View File

@@ -0,0 +1 @@
org.dromara.daxpay.channel.douyin.DouyinChannelApp

View File

@@ -0,0 +1,16 @@
package org.dromara.daxpay.channel.lakala;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.context.annotation.ComponentScan;
/// # 拉卡拉支付实现
///
@AutoConfiguration
@ConfigurationPropertiesScan
@MapperScan(annotationClass = Mapper.class)
@ComponentScan
public class LakalaChannelApp {
}

View File

@@ -0,0 +1 @@
org.dromara.daxpay.channel.lakala.LakalaChannelApp

View File

@@ -0,0 +1,16 @@
package org.dromara.daxpay.channel.ums;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.context.annotation.ComponentScan;
/// # 银联商务支付实现
///
@AutoConfiguration
@ConfigurationPropertiesScan
@MapperScan(annotationClass = Mapper.class)
@ComponentScan
public class UmsChannelApp {
}

View File

@@ -0,0 +1,16 @@
package org.dromara.daxpay.channel.wechat;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.context.annotation.ComponentScan;
/// # 微信支付实现
///
@AutoConfiguration
@ConfigurationPropertiesScan
@MapperScan(annotationClass = Mapper.class)
@ComponentScan
public class WechatChannelApp {
}

View File

@@ -0,0 +1 @@
org.dromara.daxpay.channel.wechat.WechatChannelApp