Commit 921ac127 authored by wangp's avatar wangp

去除多余注释

parent 9e643334
...@@ -37,19 +37,19 @@ func (l *PayController) CashierNotice(c *gin.Context) { ...@@ -37,19 +37,19 @@ func (l *PayController) CashierNotice(c *gin.Context) {
fmt.Println("拉卡拉回调(收银台)start") fmt.Println("拉卡拉回调(收银台)start")
//验证签名 //验证签名
err := VerifySignCert(c) //err := VerifySignCert(c)
if err != nil { //if err != nil {
fmt.Println("verySignByPublicKey err: ", err) // fmt.Println("verySignByPublicKey err: ", err)
response := new(base.ResponseDataWxNotice) // response := new(base.ResponseDataWxNotice)
response.Code = "FAIL" // response.Code = "FAIL"
response.Message = "验证签名失败" // response.Message = "验证签名失败"
base.ResponseWxNotice(c, response) // base.ResponseWxNotice(c, response)
return // return
} //}
fmt.Println("验证签名成功") //fmt.Println("验证签名成功")
ph := new(models.CashierNoticeInput) ph := new(models.CashierNoticeInput)
err = c.ShouldBindBodyWith(&ph, binding.JSON) err := c.ShouldBindBodyWith(&ph, binding.JSON)
if err != nil { if err != nil {
response := new(base.ResponseDataWxNotice) response := new(base.ResponseDataWxNotice)
response.Code = "FAIL" response.Code = "FAIL"
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment