hz-zhhq-web/node_modules/.cache/babel-loader/8732dbe5d2b52da4e014be7adc9...

1 line
1.1 KiB
JSON
Raw Normal View History

2025-02-25 13:43:48 +08:00
{"remainingRequest":"E:\\hz-zhhq-web\\node_modules\\thread-loader\\dist\\cjs.js!E:\\hz-zhhq-web\\node_modules\\babel-loader\\lib\\index.js!E:\\hz-zhhq-web\\src\\utils\\auth.js","dependencies":[{"path":"E:\\hz-zhhq-web\\src\\utils\\auth.js","mtime":1737610069398},{"path":"E:\\hz-zhhq-web\\babel.config.js","mtime":1737610069371},{"path":"E:\\hz-zhhq-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"E:\\hz-zhhq-web\\node_modules\\babel-loader\\lib\\index.js","mtime":456789000000}],"contextDependencies":[],"result":["import Cookies from 'js-cookie';\nvar TokenKey = 'Admintoken';\nvar TokenKey2 = 'userID';\nvar ISC_KEY = 'iscUserId';\nexport function getToken() {\n return Cookies.get(TokenKey);\n}\nexport function setToken(token) {\n return Cookies.set(TokenKey, token);\n}\nexport function setIscId(iscId) {\n return Cookies.set(ISC_KEY, iscId);\n}\nexport function getIscId() {\n return Cookies.get(ISC_KEY);\n}\nexport function removeToken() {\n Cookies.remove(TokenKey2);\n return Cookies.remove(TokenKey);\n}",null]}