Browse Source

密码验证

baishaojie 9 months ago
parent
commit
881ffedd47
4 changed files with 4 additions and 2 deletions
  1. BIN
      __debug_bin.exe
  2. 1 1
      conf/app.ini
  3. 3 1
      http/handle/api/ops.go
  4. BIN
      tmrgo

BIN
__debug_bin.exe


+ 1 - 1
conf/app.ini

@@ -73,7 +73,7 @@ Host = 192.168.1.93:3326
 #Name = tmrgo
 #Password = kepaiteng!QAZ
 #Host = 222.73.129.15:31306
-Name = yq2
+Name = tmrwatch5
 TablePrefix =
 
 ShowXormlog = false

+ 3 - 1
http/handle/api/ops.go

@@ -1652,7 +1652,9 @@ func ExecDataParam(fasion map[string]interface{}, CommonParamMap map[string]inte
 										ss = CommonParamMap[valuestring[tempstre+1:]].(string)
 									}
 								} else {
-									ss = ""
+									if sqlname != "checkPassword" && sqlname != "updatePwd" {
+										ss = ""
+									}
 								}
 							}
 

BIN
tmrgo