see999 3 years ago
parent
commit
96a86c8c7b
1 changed files with 4 additions and 4 deletions
  1. 4 4
      controllers/xcx_mobile_api_controller.go/xcx_api_controller.go

+ 4 - 4
controllers/xcx_mobile_api_controller.go/xcx_api_controller.go View File

@@ -182,9 +182,9 @@ func (this *XcxApiController) GetLoginInfor() {
182 182
 
183 183
 func (this *XcxApiController) GetPatientList() {
184 184
 	var appid = "wx20b60369111b063a"
185
-	var key = "4BactRvIKCBXzvpyl2SQyQ=="
186
-	var iv = "aXiAcKIWKfseTyzelqcZ0w=="
187
-	var strs = "Gr5gmKz9OjWGipAxt3ujQtHBBXV/Uvhsm+qvvZy6gF+HBc8c6gZhZkqIqLbs8nHkId5zm/mGVNpghvM/egYTLOOI7LxhvjRsPE1691j+jltU9OIavGIWFp3I4m3OdP9CuPohhrpZPgwsGajJmtGNNjPvGA61ssErVZ7SBceq+leag532zCmgEXN3NpZP0TRgpIpwpegCAEW07oyI0LiRYA=="
185
+	var key = "HobHcmPatZ0O5emMYcFo1Q=="
186
+	var iv = "wJjr8o47Jv8zBoZF5la+jw=="
187
+	var strs = "DKj+ZzSKd77D2X84UqySTfTOxcZ9W5yAArqt74g3Fek+/8N97XI3nKzLO4QadJxwl9f8BDqrpl2dauqNBC4HbkggFcEB9j1zsYDKAm5cM0NPOkjcHeGF8dxpuJGdXWFKZErD957XEPtyODbE3IUMIx/n8haGtCa3W9v5Gqosqxrb6eNY9ogf8V1dy2guuxVAxWojuZ2DLyYovksFLccD5Q=="
188 188
 	data, err := service.DecryptData(appid, key, iv, strs)
189 189
 	patient_id, _ := this.GetInt64("patient_id")
190 190
 	patient, err := service.GetPatientListByPatientId(patient_id)
@@ -201,7 +201,7 @@ func (this *XcxApiController) GetPatientList() {
201 201
 }
202 202
 
203 203
 func (this *XcxApiController) GetDataInfo() {
204
-
204
+	
205 205
 	appid := this.GetString("appid")
206 206
 	key := this.GetString("key")
207 207
 	iv := this.GetString("iv")