支付模块的 code review

This commit is contained in:
YunaiV
2021-11-10 09:40:09 +08:00
parent e46a27b937
commit 3368a995ca
14 changed files with 101 additions and 88 deletions

View File

@ -46,7 +46,6 @@ public class PayChannelDO extends BaseDO {
* 渠道费率,单位:百分比
*/
private Double feeRate;
/**
* 备注
*/

View File

@ -45,5 +45,7 @@ public interface PayErrorCodeCoreConstants {
*/
ErrorCode CHANNEL_NOT_EXISTS = new ErrorCode(1007006000, "支付渠道不存在");
ErrorCode CHANNEL_KEY_READ_ERROR = new ErrorCode(1007006002, "支付渠道秘钥文件读取失败");
// TODO @aquan下面这个错误码缺了 CHANNEL 前缀。另外,错误码的分段,上面有啦,合并下进去哈
ErrorCode EXIST_SAME_CHANNEL_ERROR = new ErrorCode(1007006003, "已存在相同的渠道");
}