支付
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
package controllers
|
||||
|
||||
import (
|
||||
"git.rosy.net.cn/jx-print/globals"
|
||||
"git.rosy.net.cn/jx-print/services"
|
||||
"github.com/gin-gonic/gin"
|
||||
"io/ioutil"
|
||||
)
|
||||
|
||||
type CallbackController struct {
|
||||
@@ -15,3 +17,8 @@ func (t *CallbackController) Msg(c *gin.Context) {
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
func (t *CallbackController) TlPayCallback(c *gin.Context) {
|
||||
data, _ := ioutil.ReadAll(c.Request.Body)
|
||||
globals.SugarLogger.Debugf("TlPayCallback msg: %v", string(data))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user