Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BANKBIN = []string{}/* 1394 elements not displayed */
View Source
var BANKNAME = []string{}/* 1394 elements not displayed */
Functions ¶
func GetNameOfBank ¶
GetNameOfBank 通过银行卡 的前六位确定 判断银行开户行及卡种 @see https://github.com/AbrahamCaiJin/CommonUtilLibrary/blob/master/CommonUtil/src/main/java/com/jingewenku/abrahamcaijin/commonutil/BankCheck.java
Types ¶
type Bank ¶
type Bank struct { Id uint32 `gorm:"primarykey,column:id"` // ID BankCode string `gorm:"uniqueIndex,column:bank_code"` // 银行简称 BankName string `gorm:"column:bank_name"` // 银行名称 }
Bank 银行信息
type BankCard ¶
type BankCard struct { BIN uint32 `gorm:"primarykey,column:bin"` // 银行识别码 BankCode string `gorm:"column:bank_code"` // 银行代码 BankName string // 银行名称 CardType string `gorm:"column:card_type"` // 银行卡类型 CardName string `gorm:"column:card_name"` // 银行卡名称 CardLength uint32 `gorm:"column:card_length"` // 银行卡号长度 }
BankCard 银行卡信息
func QueryBankByCardNumber ¶
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
func NewDatabase ¶
func (*Database) UpdateBankCardTableCardName ¶
Click to show internal directories.
Click to hide internal directories.