|
12345678910111213141516171819202122232425262728293031 |
- package svc
-
- import (
- "applet/app/md"
- "github.com/gin-gonic/gin"
- )
-
- var PayFuncList = map[string]map[string]func(*gin.Context) (interface{}, error){
- md.CommunityTeam: {
- md.BALANCE_PAY: BalanceCommunityTeam,
- md.ALIPAY: AlipayCommunityTeam,
- md.WX_PAY: WxPayCommunityTeam,
- },
- md.CommunityTeamPay: {
- md.BALANCE_PAY: BalanceCommunityTeamPay,
- md.ALIPAY: AlipayCommunityTeamPay,
- md.WX_PAY: WxPayCommunityTeamPay,
- },
- }
- var PayCallbackFuncList = map[string]map[string]func(*gin.Context){
- md.CommunityTeam: {
- md.BALANCE_PAY: nil,
- md.ALIPAY: AlipayCallbackCommunityTeam,
- md.WX_PAY: WxPayCallbackCommunityTeam,
- },
- md.CommunityTeamPay: {
- md.BALANCE_PAY: nil,
- md.ALIPAY: AlipayCallbackCommunityTeamPay,
- md.WX_PAY: WxPayCallbackCommunityTeamPay,
- },
- }
|