Browse Source

体积小

XMLWAN 3 years ago
parent
commit
80575efc68
1 changed files with 5 additions and 5 deletions
  1. 5 5
      controllers/xcx_mobile_api_controller.go/xcx_api_controller.go

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

@@ -214,11 +214,11 @@ func (this *XcxApiController) GetDataInfo() {
214 214
 	iv, _ := dataBody["iv"].(string)
215 215
 	encryptedData, _ := dataBody["encryptedData"].(string)
216 216
 
217
-	list, err := service.DecryptData(appid, key, iv, encryptedData)
218
-	if err == nil {
219
-		this.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeSystemError)
220
-		return
221
-	}
217
+	list, _ := service.DecryptData(appid, key, iv, encryptedData)
218
+	//if err == nil {
219
+	//	this.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeSystemError)
220
+	//	return
221
+	//}
222 222
 
223 223
 	this.ServeSuccessJSON(map[string]interface{}{
224 224
 		"list": list,