accountbalacne

This commit is contained in:
苏尹岚
2020-10-20 10:34:35 +08:00
parent adf90f21e0
commit ac20216437
9 changed files with 33 additions and 109 deletions

View File

@@ -46,6 +46,14 @@ func (p *PayHandler) CreatePay() (err error) {
return err
}
func (p *PayHandler) CreateRefund() (err error) {
switch p.PayType {
case model.PayTypeTL:
case model.PayTypeWX:
}
return err
}
func OnTLPayCallback(call *tonglianpayapi.CallBackResult) (err error) {
globals.SugarLogger.Debugf("OnTLPayCallback msg:%s", utils.Format4Output(call, true))
switch call.TrxCode {

View File

@@ -20,6 +20,7 @@ type PayHandler struct {
type PayHandlerInterface interface {
CreatePay() (err error)
CreateRefund() (err error)
}
func OnPayFinished(order *model.Order) (err error) {