【代码优化】商城:优化分销提现的逻辑(余额)
This commit is contained in:
@@ -11,9 +11,6 @@ public interface MessageTemplateConstants {
|
||||
|
||||
String SMS_ORDER_DELIVERY = "order_delivery"; // 短信模版编号
|
||||
|
||||
String SMS_BROKERAGE_WITHDRAW_AUDIT_APPROVE = "brokerage_withdraw_audit_approve"; // 佣金提现(审核通过)
|
||||
String SMS_BROKERAGE_WITHDRAW_AUDIT_REJECT = "brokerage_withdraw_audit_reject"; // 佣金提现(审核不通过)
|
||||
|
||||
// ======================= 小程序订阅消息模版 =======================
|
||||
|
||||
String WXA_ORDER_DELIVERY = "订单发货通知";
|
||||
|
||||
@@ -38,4 +38,14 @@ public enum BrokerageWithdrawTypeEnum implements IntArrayValuable {
|
||||
return ARRAYS;
|
||||
}
|
||||
|
||||
/**
|
||||
* 是否通过支付平台的 API 打款
|
||||
*
|
||||
* @param type 类型
|
||||
* @return 是否
|
||||
*/
|
||||
public static boolean isApi(Integer type) {
|
||||
return WECHAT_API.getType().equals(type);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user