MCPcopy Create free account
hub / github.com/anyehttp/quantumult-x / writeLocalData

Function writeLocalData

task/AppStore.js:74–77  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

72
73// 写入本地数据
74function writeLocalData(data) {
75 $.setdata(JSON.stringify(data, null, 4), 'app_data');
76 console.log('写入本地数据');
77}
78
79// 获取 app 数据并解析价格
80async function fetchAppData(region, name, id, purchaseType) {

Callers 1

mainFunction · 0.70

Calls 2

setdataMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected