附近小店
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

svc_pay.go 506 B

2 달 전
123456789101112131415161718192021
  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. }
  13. var PayCallbackFuncList = map[string]map[string]func(*gin.Context){
  14. md.CommunityTeam: {
  15. md.BALANCE_PAY: nil,
  16. md.ALIPAY: AlipayCallbackCommunityTeam,
  17. md.WX_PAY: WxPayCallbackCommunityTeam,
  18. },
  19. }