MCPcopy Create free account
hub / github.com/circircir-circle/human_exist_device / setUser

Function setUser

mini_program/common/Session.js:16–18  ·  view source on GitHub ↗
(session)

Source from the content-addressed store, hash-verified

14 },
15
16 setUser(session) {
17 wx.setStorageSync(SESSION_KEY, session);
18 },
19
20 clearUser() {
21 wx.removeStorageSync(SESSION_KEY);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected