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, }, } var PayCallbackFuncList = map[string]map[string]func(*gin.Context){ md.CommunityTeam: { md.BALANCE_PAY: nil, md.ALIPAY: AlipayCallbackCommunityTeam, md.WX_PAY: WxPayCallbackCommunityTeam, }, }