mirror of
https://gitee.com/dromara/dax-pay
synced 2026-08-10 23:01:58 +08:00
feat(channel): 各通道模块补充 Spring Boot 自动发现与组件/Mapper 扫描
This commit is contained in:
@@ -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 {
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
org.dromara.daxpay.channel.alipay.AlipayChannelApp
|
||||
@@ -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 {
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
org.dromara.daxpay.channel.douyin.DouyinChannelApp
|
||||
@@ -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 {
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
org.dromara.daxpay.channel.lakala.LakalaChannelApp
|
||||
@@ -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 {
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
org.dromara.daxpay.channel.ums.UmsChannelApp
|
||||
@@ -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 {
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
org.dromara.daxpay.channel.wechat.WechatChannelApp
|
||||
Reference in New Issue
Block a user