我正在尝试在抖动dio缓存中使用加密 但我不知道需要参数加密吗? 请提供帮助
var _dio = Dio();
var _dioCacheManager = new DioCacheManager(CacheConfig(baseUrl: apiurl, encrypt: myEncrypt));
_dio.interceptors.add(_dioCacheManager.interceptor);
var response = await _dio.post("${apiurl}",
data: param,
options: buildCacheOptions(customDuration ?? Duration(hours: 6),
maxStale: customMaxStale ?? Duration(hours: 6),
));
Future<List<int>> myEncrypt(data){
List<int> mockupList = [1, 2];
return mockupList;
}