|
@@ -209,10 +209,10 @@ func (this *XcxApiController) GetDataInfo() {
|
209
|
209
|
this.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeParamWrong)
|
210
|
210
|
return
|
211
|
211
|
}
|
212
|
|
- appid := dataBody["appid"].(string)
|
213
|
|
- key := dataBody["key"].(string)
|
214
|
|
- iv := dataBody["iv"].(string)
|
215
|
|
- encryptedData := dataBody["encryptedData"].(string)
|
|
212
|
+ appid, _ := dataBody["appid"].(string)
|
|
213
|
+ key, _ := dataBody["key"].(string)
|
|
214
|
+ iv, _ := dataBody["iv"].(string)
|
|
215
|
+ encryptedData, _ := dataBody["encryptedData"].(string)
|
216
|
216
|
|
217
|
217
|
list, err := service.DecryptData(appid, key, iv, encryptedData)
|
218
|
218
|
if err == nil {
|