package md const ( CALLBACK_URL = "%s/api/v1/communityTeam/pay/callback?master_id=%s&order_type=%s&pay_method=%s" RECHARGGE_CALLBACK_URL = "http://%s/api/v1/new_recharge/callback/%s" BALANCE_PAY = "balance_pay" ALIPAY = "alipay" WX_PAY = "wxpay" FB_PAY_ALI = "fb_pay_ali" FB_PAY_WX = "fb_pay_wx" FB_PAY_WX_SUB = "fb_pay_wx_sub" FBCALLBACK_URL = "%s/api/v1/pay/fb/callback" ) var PayMethod = map[string]string{ BALANCE_PAY: "余额支付", ALIPAY: "支付宝支付", WX_PAY: "微信支付", FB_PAY_ALI: "乐刷支付宝", FB_PAY_WX: "乐刷微信", FB_PAY_WX_SUB: "乐刷微信", } var PayMethodIdToName = map[int]string{ 1: "余额支付", 2: "支付宝支付", 3: "微信支付", 18: "乐刷支付宝", 19: "乐刷微信", } var PayMethodIDs = map[string]int{ BALANCE_PAY: 1, ALIPAY: 2, WX_PAY: 3, FB_PAY_ALI: 18, FB_PAY_WX: 19, FB_PAY_WX_SUB: 19, } const ( CommunityTeam = "community_team" PrivilegeCard = "privilege_card" LianlianPay = "lianlian_pay" BusinessCollege = "business_college" UserLevel = "user_level" PrivilegeOpenCard = "privilege_open_card" BusinessCollegeSub = "business_college_sub" UserLevelSub = "user_level_sub" PrivilegeOpenCardSub = "privilege_open_card_sub" AggregationRecharge = "aggregation_recharge" Swipe = "swipe" ) var NeedPayPart = map[string]string{ PrivilegeCard: "权益卡", BusinessCollege: "商学院", UserLevel: "会员VIP升级", PrivilegeOpenCard: "权益卡开卡", AggregationRecharge: "聚合充值", }