Permalink
Browse files

增加模块信息,在日志中可导航到源代码位置

  • Loading branch information...
zhou-hao committed Jan 31, 2019
1 parent c0501fb commit aad048912b1d73e30631f3ad32a10ab85b58d555
@@ -2,12 +2,6 @@

基于hsweb,spring-boot的开源聚合支付平台, 支持多渠道,多配置. 默认已接入: `微信扫码`,`微信H5`,`支付宝H5`,`支付宝网页支付`

# 环境

最新的java8

数据库支持: h2,mysql,oracle

# 模块
```bash
------hsweb-payment
@@ -21,20 +15,48 @@
----------hsweb-payment-ui #前端UI模块
```

# 环境

最新版本的Java8

数据库支持: H2,Mysql,Oracle,PostgreSQL。

注意: 数据库表使用[hsweb-starter](https://docs.hsweb.io/framework/zeng-shan-gai-cha/shu-ju-ku-ban-ben-kong-zhi)
自动创建和版本维护,启动项目会自动创建表结构.


# 启动

运行`hsweb-payment-assemble`模块下`PaymentApplication`
## 使用docker启动
最新版本已经上传到docker公共仓库:

# 配置
```bash
$ docker run -d -p 8080:8080 -v data:/data hsweb/hsweb-payment
```

TODO
自己构建镜像:

# 二次开发
```bash
$ ./build-docker.sh
```

TODO
## 使用maven命令启动

```bash
$ ./mvnw install -DskipTests
$ ./mvnw -pl hsweb-payment-assemble spring-boot:run
```

## 使用IDE启动

直接运行模块:`hsweb-payment-assemble`下的类:`org.hswebframework.payment.PaymentApplication`

注意: 启动配置中的`working dir` 必须为项目的根目录(`hsweb-payment`),而不是`hsweb-payment-assemble`目录


# 用户手册

# 参与项目
TODO

# ⚠️ 注意
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
./mvnw -Dgit-commit-id=$(git rev-parse HEAD) clean package -DskipTests
./mvnw -Dgit.commit.hash=$(git rev-parse HEAD) clean package -DskipTests
docker rmi hsweb/hsweb-payment
docker build -t hsweb/hsweb-payment -f ./Dockerfile .
@@ -12,6 +12,19 @@

<artifactId>hsweb-payment-account</artifactId>

<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>

<resource>
<directory>src/main/resources/org</directory>
<filtering>false</filtering>
</resource>
</resources>
</build>
<dependencies>
<dependency>
<groupId>org.hswebframework.web</groupId>
@@ -0,0 +1,9 @@
{
"groupId": "${project.groupId}",
"artifactId": "${project.artifactId}",
"path": "${project.artifactId}",
"gitCommitHash": "${git.commit.hash}",
"gitRepository": "http://github.com/hsweb-pro/hsweb-payment",
"version": "${project.version}",
"comment": "账户模块"
}
@@ -3,7 +3,7 @@ var info = {
groupId: "org.hswebframework.pro",
artifactId: "hsweb-payment-account",
version: "1.0.4",
website: "hsweb.pro",
website: "payment.hsweb.pro",
author: "Lind",
comment: "账户模块"
};
@@ -11,6 +11,20 @@

<artifactId>hsweb-payment-api</artifactId>

<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>

<resource>
<directory>src/main/resources/org</directory>
<filtering>false</filtering>
</resource>
</resources>
</build>

<dependencies>
<dependency>
<groupId>org.hswebframework.web</groupId>
@@ -0,0 +1,9 @@
{
"groupId": "${project.groupId}",
"artifactId": "${project.artifactId}",
"path": "${project.artifactId}",
"gitCommitHash": "${git.commit.hash}",
"gitRepository": "http://github.com/hsweb-pro/hsweb-payment",
"version": "${project.version}",
"comment": "公共API模块"
}
Oops, something went wrong.

0 comments on commit aad0489

Please sign in to comment.