初始化 pay 模块

This commit is contained in:
YunaiV
2019-03-11 19:27:15 +08:00
parent 1b8701b0cb
commit d9448c181a
21 changed files with 529 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>pay</artifactId>
<groupId>cn.iocoder.mall</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>pay-service-api</artifactId>
</project>

View File

@@ -0,0 +1,4 @@
package cn.iocoder.mall.pay.api;
public interface PayService {
}

View File

@@ -0,0 +1,4 @@
package cn.iocoder.mall.pay.api;
public interface RefundService {
}

View File

@@ -0,0 +1,29 @@
package cn.iocoder.mall.pay.api.constant;
/**
* 错误码枚举类
*
* 管理员系统,使用 1-004-000-000 段
*/
public enum PayErrorCodeEnum {
// ========== PAY 模块 ==========
;
private final int code;
private final String message;
PayErrorCodeEnum(int code, String message) {
this.code = code;
this.message = message;
}
public int getCode() {
return code;
}
public String getMessage() {
return message;
}
}