附近小店
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 

32 rindas
810 B

  1. package svc
  2. import (
  3. "applet/app/md"
  4. "github.com/gin-gonic/gin"
  5. )
  6. var PayFuncList = map[string]map[string]func(*gin.Context) (interface{}, error){
  7. md.CommunityTeam: {
  8. md.BALANCE_PAY: BalanceCommunityTeam,
  9. md.ALIPAY: AlipayCommunityTeam,
  10. md.WX_PAY: WxPayCommunityTeam,
  11. },
  12. md.CommunityTeamPay: {
  13. md.BALANCE_PAY: BalanceCommunityTeamPay,
  14. md.ALIPAY: AlipayCommunityTeamPay,
  15. md.WX_PAY: WxPayCommunityTeamPay,
  16. },
  17. }
  18. var PayCallbackFuncList = map[string]map[string]func(*gin.Context){
  19. md.CommunityTeam: {
  20. md.BALANCE_PAY: nil,
  21. md.ALIPAY: AlipayCallbackCommunityTeam,
  22. md.WX_PAY: WxPayCallbackCommunityTeam,
  23. },
  24. md.CommunityTeamPay: {
  25. md.BALANCE_PAY: nil,
  26. md.ALIPAY: AlipayCallbackCommunityTeamPay,
  27. md.WX_PAY: WxPayCallbackCommunityTeamPay,
  28. },
  29. }