!144 修改路径

Merge pull request !144 from chenkai008/master
This commit is contained in:
openharmony_ci
2022-03-25 12:15:06 +00:00
committed by Gitee
@@ -123,9 +123,9 @@ bool CheckUri(napi_env env, string &path)
return false;
}
if (uriSplit[spilteTwo] == "app") {
path = ability->GetDataDir();
path = "/data/storage/el2/base/haps/entry/files";
} else if (uriSplit[spilteTwo] == "cache") {
path = ability->GetCacheDir();
path = "/data/storage/el2/base/haps/entry/cache";
} else {
return false;
}