Roc 1 year ago
parent
commit
531cf76aea
1 changed files with 3 additions and 0 deletions
  1. 3 0
      controllers/base_auth.go

+ 3 - 0
controllers/base_auth.go

@@ -50,6 +50,9 @@ func (this *BaseAuthController) Prepare() {
 				return
 			}
 			checkAuthorization := utils.MD5(utils.APP_NAME_EN + utils.Md5Key)
+			fmt.Println("name:", utils.APP_NAME_EN, ",md5_key:", utils.Md5Key, ";")
+			fmt.Println(utils.APP_NAME_EN)
+			fmt.Println(utils.Md5Key)
 			fmt.Println(checkAuthorization)
 			if authorization != checkAuthorization {
 				this.JSON(models.BaseResponse{Ret: 408, Msg: "签名错误!", ErrMsg: "签名错误:authorization is err "}, false, false)