This commit is contained in:
邹宗楠
2022-11-17 17:44:34 +08:00
parent 22d9045562
commit 5806a9fad8
8 changed files with 20 additions and 32 deletions

View File

@@ -39,7 +39,6 @@ func (a *Auth2Controller) Login(c *gin.Context) {
}
controllers.CallFunc(c, func() (retVal interface{}, errCode string, err error) {
globals.SugarLogger.Debugf("userParam =============params:%s", utils.Format4Output(params, false))
user, err := service.WxLogin(c, params)
if err != nil {
return nil, "", err

View File

@@ -3,7 +3,6 @@ package app
import (
"errors"
"fmt"
"git.rosy.net.cn/baseapi/utils"
"git.rosy.net.cn/jx-print/controllers"
"git.rosy.net.cn/jx-print/globals"
"git.rosy.net.cn/jx-print/model"
@@ -157,7 +156,6 @@ func (p *Print) GetPrintIsUse(c *gin.Context) {
result["phone"] = phone
result["err"] = err
retVal = result
globals.SugarLogger.Debugf("=====%s", utils.Format4Output(result, false))
return retVal, "", nil
})
}

View File

@@ -43,7 +43,6 @@ func AddApp(c *gin.Context) {
Code: model.ErrCodeNormal,
Desc: err.Error(),
})
globals.SugarLogger.Debugf("End API :%s error:%v:", c.Request.URL, err)
return
}
if tokenInfo = CheckToken(c); tokenInfo == nil {
@@ -72,7 +71,6 @@ func DelApp(c *gin.Context) {
Code: model.ErrCodeNormal,
Desc: err.Error(),
})
globals.SugarLogger.Debugf("End API :%s error:%v:", c.Request.URL, err)
return
}
if tokenInfo = CheckToken(c); tokenInfo == nil {

View File

@@ -22,7 +22,6 @@ 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))
c.Request.Body = ioutil.NopCloser(bytes.NewBuffer(data))
if call, err := api.TLpayAPI.GetCallbackMsg(c.Request); err == nil {
globals.SugarLogger.Debugf("tonglianapi callback callbackResponse:%s", utils.Format4Output(call, true))