一、根据银行卡号区分信用卡还是储蓄卡
https://ccdcapi.alipay.com/validateAndCacheCardInfo.json?_input_charset=utf-8&cardBinCheck=true&cardNo=6214832142686668
如图:
var cardTypeMap = { DC: "储蓄卡", CC: "信用卡", SCC: "准贷记卡", PC: "预付费卡" };
来源:https://www.cnblogs.com/fger/p/12014767.html