Files
platforms/backend/api/internal/logic/common/withdrawal_channel.go
2026-08-19 23:43:02 +08:00

12 lines
467 B
Go
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// Package common 提供跨管理端复用的提现渠道约束。
// 版本v1.0.0
package common
// OrganizationWithdrawalChannelBank 是当前组织钱包唯一开放的提现渠道。
const OrganizationWithdrawalChannelBank = "bank"
// IsSupportedOrganizationWithdrawalChannel 判断气站或配送点提交的渠道是否已开放。
func IsSupportedOrganizationWithdrawalChannel(channel string) bool {
return channel == OrganizationWithdrawalChannelBank
}