tencent cloud

Tencent Cloud Super App as a Service

ドキュメントTencent Cloud Super App as a Service

Customizing Storage Path for Saving Files in the Mini Program

ダウンロード
フォーカスモード
フォントサイズ
最終更新日: 2025-07-04 17:33:28
AI翻訳
By overriding the getSaveFileDir method in BaseMiniAppProxyImpl class, you can specify the directory for saving images and videos to the system album through the mini program API.
Example:
/**
* Specifies the directory for saving images and videos to the system album
*
*/
public String getSaveFileDir(){
return "myapp";
}
Note:
The default path is tcmpp.





ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック