Coder Social home page Coder Social logo

odora / screampay Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kay365/screampay

0.0 0.0 0.0 12.13 MB

screamPay聚合支付,一个强大到让你尖叫的聚合支付系统,使用Java开发,spring-boot架构,已接入环讯、九派、杉德等主流支付渠道,可直接用于生产环境。

License: Apache License 2.0

Java 14.71% HTML 5.24% CSS 4.42% JavaScript 30.44% C++ 0.10% ASP 0.04% Visual Basic 0.14% PHP 0.02% PLpgSQL 44.90%

screampay's Introduction

screamPay'官方技术交流群:794220467 (加群暗号:龚丁禧最帅)。


项目介绍


  • screamPay聚合支付,一个强大到让你尖叫的聚合支付系统 screamPay聚合支付使用Java开发,采用spring-boot、spring-cloud架构,已接入环讯、九派、杉德等主流支付渠道,可直接用于生产环境。

[screamPay官网:]开发中

[screamPay开发社区:]开发中

[screamPay支付体验:]开发中

[screamPay运营平台演示:]开发中

[screamPay文档库:]开发中

版本更新


版本 日期 描述
V1.0.0 2018-12-08 首次发布

接下来的开源版本开发计划:

+ 重点发展spring cloud架构版本;
+ 风控逻辑优化;
+ 持续增加其他支付渠道对接;

项目测试


【运营平台截图】

支付通道管理

下发通道管理

代理商管理

添加代理商

商户管理

新增商户管理

支付交易查询

代付交易查询

提现交易查询

商户钱包管理

代理商钱包管理

平台钱包管理

第三方账户钱包管理

提现管理

提现列表

支付订单同步管理

代付订单同步管理

项目结构


项目部署


1.pay_juhe.sql为数据库,直接导入mysql即可。

2.application.yml为主配置文件。

        port为工作端口,active为使用的具体配置文件,可选dev(意为使用application-dev.yml)和pro(意为使用application-pro.yml)。

3.application-dev.yml为开发配置。

qhpay:
  #平台RSA公钥,现在配置文件里的已经作废,从后台"系统参数配置"设置。
  publicKey: MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCMlNqJh3JG6shlMJ0OJ42QnuG9OVUiBlcpbUXbaaprUjF1XTqDaUJZLvk5fkRDAgZAC/CbyYOOoZBpp8y3CnnCSPtJ8oKoLuQOcN1hW4snE0VP+J2wKMQQyjmzFK4MiRRDE6oxD2nWFe517zl8IOJYZWK3egTIXezoidLG0bucZwIDAQAB
  #平台私钥,现在配置文件里的已经作废,从后台"系统参数配置"设置。
  privateKeyPath: D:/var/key/privateKey.txt
  #文件上传路径,优先使用后台“系统参数配置”设置进去的参数。
  uploadPath: D:/var/uploaded_files/
#log等级
logging:
  level:
    root: error
spring:
#数据库设置
  read-dataSource:
    driverClassName: com.mysql.jdbc.Driver
    url: jdbc:mysql://localhost:3306/pay_crypto?useUnicode=true&characterEncoding=utf8&useSSL=false&allowMultiQueries=true
    username: pay_crypto
    password: pay_crypto
  dataSource:
    type: com.alibaba.druid.pool.DruidDataSource
    driverClassName: com.mysql.jdbc.Driver
    url: jdbc:mysql://localhost:3306/pay_crypto?useUnicode=true&characterEncoding=utf8&useSSL=false&allowMultiQueries=true
    username: pay_crypto
    password: pay_crypto
    initialSize: 1
    minIdle: 3
    maxActive: 20
    # 配置获取连接等待超时的时间
    maxWait: 60000
    # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
    timeBetweenEvictionRunsMillis: 60000
    # 配置一个连接在池中最小生存的时间,单位是毫秒
    minEvictableIdleTimeMillis: 30000
    validationQuery: select 'x'
    testWhileIdle: true
    testOnBorrow: false
    testOnReturn: false
    # 打开PSCache,并且指定每个连接上PSCache的大小
    poolPreparedStatements: true
    maxPoolPreparedStatementPerConnectionSize: 20
    # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙
    filters: stat,slf4j
    # 通过connectProperties属性来打开mergeSql功能;慢SQL记录
    connectionProperties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
    # 合并多个DruidDataSource的监控数据
    #useGlobalDataSourceStat: true
  jpa:
    hibernate:
      #ddl-auto: create #ddl-auto:设为create表示每次都重新建表
      ddl-auto: update #ddl-auto:设为update表示每次都不会重新建表
    show-sql: true
  # REDIS (RedisProperties)
  redis: 
    # Redis服务器地址
    host: 127.0.0.1
    # Redis服务器连接端口
    port: 6379  
    # Redis服务器连接密码(默认为空)
    password: redis  
    # 连接池最大连接数(使用负值表示没有限制)
    pool: 
      max-active: 8  
        # 连接池最大阻塞等待时间(使用负值表示没有限制)
      max-wait: -1  
      # 连接池中的最大空闲连接
      max-idle: 8  
      # 连接池中的最小空闲连接
      min-idle: 0  
      # 连接超时时间(毫秒)
    timeout: 0
    #sentinel: 
      #master: mymaster  
    # comma-separated list of host:port pairs  哨兵的配置列表  
      #nodes: 192.168.1.188:26379,192.168.1.188:26479,192.168.1.188:26579
  task: 
    pool: 
      corePoolSize: 10  
      maxPoolSize: 20  
      keepAliveSeconds: 60  
      queueCapacity: 100  
      threadNamePrefix: myThreadPool 
redisson:
  password: 
  # 单机模式
  address: redis://127.0.0.1:6379
  # 哨兵模式
  #master-name: mymaster
  #sentinel-addresses: redis://192.168.1.188:26379,redis://192.168.1.188:26479,redis://192.168.1.188:26579

作者已成功将项目部署在阿里云主机上,服务器配置为:

CPU 内存 操作系统
1核 2 GB CentOS 6.8 64位

安装的各软件对应的版本为(仅供参考):

软件 版本 说明
JDK 1.8 spring boot 对低版支持没有测过
Redis 4.0.10
MySQL 5.7.17 要在5.6以上,否则初始化SQL会报错,除非手动修改建表语句

关于作者


姓名:龚丁禧

QQ : 254939589

微信:wangqingzhuofeng

手机:18750261781

龚丁禧个人主页

screampay's People

Contributors

star-ruijie avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.