Commit Graph

44 Commits

Author SHA1 Message Date
xiaoyu
65500b5892 日志表 请求、响应参数长度修改 2022-06-13 09:45:16 +08:00
陈泉
4ab4bebfcf 添加Maven设置,加速依赖包下载过程 2022-03-31 10:02:33 +08:00
陈泉
b86b55cafa 添加 Docker 支持
编译命令

```
docker buildx build . --build-arg PORT=9216 --build-arg PLATFORM=payment -t jeepay-payment:latest
```
```
docker buildx build . --build-arg PORT=9217 --build-arg PLATFORM=manager -t jeepay-manager:latest
```
```
docker buildx build . --build-arg PORT=9218 --build-arg PLATFORM=merchant -t jeepay-merchant:latest
```

如果你需要多平台镜像,你可以使用 `--platform linux/amd64,linux/arm64`
 ```
docker buildx build . --build-arg PORT=9218 --build-arg PLATFORM=merchant -t jeepay-merchant:latest --platform linux/amd64,linux/arm64
```

启动命令
```
docker run -d -p 9216:9216 jeepay-payment:latest
```
```
docker run -d -p 9217:9217 jeepay-manager:latest
```
```
docker run -d -p 9218:9218 jeepay-merchant:latest
```

## Docker Compose 一次性运行所有环境
由于每个人的环境都不太一样,这里没有添加到项目内,可以放到文档里作为 demo
```
version: '3'

services:
  mysql:
    hostname: mysql
    container_name: mysql
    #    image: mysql:8
    image: mysql/mysql-server:latest
    ports:
      - '3306:3306'
    environment:
      MYSQL_ROOT_PASSWORD: 'root'
      MYSQL_DATABASE: 'jeepay'
    volumes:
      - './data/mysql:/var/lib/mysql'
      - './data/mysql/conf.d:/etc/mysql/conf.d'
      - './data/mysql/log:/var/log/mysql'
      - './data/mysql/data:/var/lib/mysql/data'
      - './docs/sql/init.sql:/workspace/init.sql'
  #  activemq 并没有官方维护的 Docker 镜像这里不推荐使用。
  #  activemq:
  #    container_name: activemq
  #    image: activemq:5.15.3
  #    ports:
  #      - '61616:61616'
  #      - '8161:8161'
  #    environment:
  #      ACTIVEMQ_USER: 'admin'
  #      ACTIVEMQ_PASSWORD: 'admin'
  #  rocketmq 配置 https://github.com/apache/rocketmq-docker
  #  rabbitmq:
  #    hostname: rabbitmq
  #    container_name: rabbitmq
  #    image: rabbitmq:latest
  #    ports:
  #      - "15672:15672"
  #      - "4369:4369"
  #      - "5672:5672"
  #      - "25672:25672"
  #    environment:
  #      RABBITMQ_DEFAULT_USER: 'admin'
  #      RABBITMQ_DEFAULT_PASS: 'admin'
  #      RABBITMQ_DEFAULT_VHOST: 'jeepay'
  #    volumes:
  #      - './data/rabbitmq:/var/lib/rabbitmq'
  #      - './data/rabbitmq/conf:/etc/rabbitmq'
  #      - './data/rabbitmq/log:/var/log/rabbitmq'
  #      - './data/rabbitmq/data:/var/lib/rabbitmq/data'
  payment:
    build:
      context: .
      dockerfile: Dockerfile
      args:
        PORT: 9216
        PLATFORM: payment
    image: jeepay_payment:latest
    hostname: payment
    container_name: jeepay-payment
    ports:
      - "9216:9216"
    depends_on:
      - mysql
  #      - rabbitmq
  manager:
    build:
      context: .
      dockerfile: Dockerfile
      args:
        PORT: 9217
        PLATFORM: manager
    image: jeepay_manager:latest
    hostname: manager
    container_name: jeepay-manager
    ports:
      - "9217:9217"
    depends_on:
      - mysql
  #      - rabbitmq
  merchant:
    build:
      context: .
      dockerfile: Dockerfile
      args:
        PORT: 9218
        PLATFORM: merchant
    image: jeepay_merchant:latest
    hostname: merchant
    container_name: jeepay-merchant
    ports:
      - "9218:9218"
    depends_on:
      - mysql
#      - rabbitmq
```
2022-03-29 19:26:47 +08:00
zhuxiao
ac6e491ef6 微信支付配置添加证书文件(apiclient_cert.pem) 2022-03-01 19:18:03 +08:00
dingzhiwei
312da02b85 升级版本v1.12.0 2022-01-26 15:27:03 +08:00
terrfly
86ff9c2777 添加分账重试权限; 2022-01-25 16:59:04 +08:00
dingzhiwei
370394c4cc 升级版本v1.11.0 2021-12-24 12:19:05 +08:00
dingzhiwei
b346442084 升级版本v1.11.0 2021-12-23 16:58:55 +08:00
dingzhiwei
445b55449c 优化PayPay支付通道 2021-12-17 17:45:31 +08:00
陈泉
66f42e85e2 feta: paypal 支付渠道 2021-11-29 14:00:29 +08:00
xiaoyu
56ff156e60 角色权限关联表字段长度修改 2021-11-19 15:28:55 +08:00
xiaoyu
21ceac0408 角色权限关联表字段长度增加 2021-11-19 14:55:35 +08:00
dingzhiwei
30b232b111 增加退款订单错误信息字段长度 2021-11-18 16:24:31 +08:00
dingzhiwei
607145ec6a 更新sql语句 2021-10-12 16:46:07 +08:00
dingzhiwei
b49ac6e88f 发布版本1.9.0 2021-09-30 17:09:45 +08:00
terrfly
f1e08b52dc v1.8.0 2021-09-10 16:24:08 +08:00
terrfly
ad189f7d7c 添加商户系统的退款功能权限配置项 2021-09-10 14:41:11 +08:00
terrfly
fa6e00c3ee 完成订单的分账逻辑 2021-08-26 16:57:00 +08:00
terrfly
ad2afc150b 分账第一卷: 分账表结构设计; 分账MQ, 入库操作。 2021-08-22 17:21:06 +08:00
terrfly
07212404d5 订单页的支付方式筛选项添加权限并可分配: 避免API权限导致页面出现异常 2021-08-18 11:19:54 +08:00
terrfly
5c110d3a71 商户系统支持转账功能; 2021-08-13 22:08:02 +08:00
terrfly
659b75b7a4 转账订单列表; 2021-08-13 11:45:36 +08:00
terrfly
3036d5fcd7 仅支付订单更改为已发送,其他订单不考虑该字段 2021-08-12 15:36:36 +08:00
terrfly
3ad69e9a29 添加转账API接口的实现; 2021-08-12 15:27:56 +08:00
dingzhiwei
10f3c8c34a 修改微信和支付宝参数配置默认为自定义 2021-07-28 11:59:51 +08:00
zhuxiao
4b0390a90b sql添加版本信息 2021-07-22 17:39:32 +08:00
zhuxiao
2b7a2cbdee 优化支付参数配置界面支持JSON生成和自定义;敏感数据脱敏 2021-07-15 15:26:16 +08:00
dingzhiwei
0ec9d1c0bd 修改配置&更新版本 2021-07-05 17:45:49 +08:00
terrfly
2e844aae17 添加增量发布sql文件 2021-06-25 14:26:33 +08:00
terrfly
0b9a27b37c 将最大通知次数放置到DB, 完成商户消息重发功能 2021-06-21 18:04:13 +08:00
terrfly
66921de215 添加支付测试页权限; 2021-06-21 14:38:33 +08:00
terrfly
7b06548040 更改退款接口 2021-06-18 10:20:03 +08:00
terrfly
9e8d51da02 添加退款补单和超时关闭; 添加查单控制器 2021-06-17 15:28:28 +08:00
terrfly
7e119aa212 完善退款申请api; 2021-06-17 13:15:57 +08:00
zhuxiao
cca8f3da6e 删除商户私钥字段 2021-06-16 19:18:39 +08:00
zhuxiao
33728965e9 运营平台、商户系统新增商户应用及相关支付配置 2021-06-16 19:04:07 +08:00
terrfly
0c8f2e8d5f 更改退款表结构信息; 2021-06-16 18:33:13 +08:00
xiaoyu
6f14107118 平台、商户重置修改用户密码;重置商户默认用户密码;菜单列表名称修改 2021-06-16 17:16:51 +08:00
terrfly
bc3a2fa5cd 接口加入商户应用ID ,商户应用私钥信息; 2021-06-15 17:47:22 +08:00
terrfly
43587c2c13 添加商户应用表; 2021-06-15 17:13:33 +08:00
terrfly
7de741c9c3 后端更改表结构 2021-06-15 15:46:45 +08:00
dingzhiwei
7ac96de72f 完善部分功能的列表权限 2021-06-14 01:23:53 +08:00
dingzhiwei
bdf7fdb7d8 优化支付回调处理 2021-06-09 19:57:45 +08:00
dingzhiwei
de3de82dc8 初始化Jeepay项目 2021-06-09 16:05:40 +08:00