Loading…

Temporary data storage

Table of contents on this page
The temporary data storage time is `1 hour`. After this time, the data will be automatically released; Within the data validity period, it can be read multiple times; #Write data ```javascript WXAPI.tempDataSetV2(key, content) ``` + key custom encoding + content data to be stored ```json { "code": 0, "msg": "success" } ``` #Read data ```javascript WXAPI.tempDataGetV2(key) ``` + key custom encoding ```json { "code": 0, "data": "test", "msg": "success" } ``` + data read data