Browse Source

Merge branch 'master' of http://git.shengws.com/csx/gdyb

csx 3 years ago
parent
commit
dd5d1b2008
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controllers/sg/his_api_controller.go

+ 1 - 1
controllers/sg/his_api_controller.go View File

234
 	fmt.Println(string(str1))
234
 	fmt.Println(string(str1))
235
 	fmt.Println(string(str))
235
 	fmt.Println(string(str))
236
 
236
 
237
-	if ret2 != nil {
237
+	if ret2 != 0 {
238
 		c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeReadCardException)
238
 		c.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeReadCardException)
239
 		return ""
239
 		return ""
240
 	}
240
 	}