Commit e77fcdb1 by 姜雷

添加洗浴

parent e0487a8f
...@@ -3,3 +3,4 @@ export const LogoutCode = -2; ...@@ -3,3 +3,4 @@ export const LogoutCode = -2;
export const NotRegisterCode = 1005; export const NotRegisterCode = 1005;
export const BASE_SERVER_URL = 'https://ex-dev-dcxy-smapro-app.168cad.top'; export const BASE_SERVER_URL = 'https://ex-dev-dcxy-smapro-app.168cad.top';
export const SOCKET_URL = 'wss://dev-shower-wss1.168cad.top:9443/ws';
export const ab2str = (buf: ArrayBuffer): string => {
return String.fromCharCode.apply(null, new Int8Array(buf));
};
export const str2ab = (str: string): ArrayBuffer => {
var buf = new ArrayBuffer(str.length);
var bufView = new Int8Array(buf);
for (var i = 0, strLen = str.length; i < strLen; i++) {
bufView[i] = str.charCodeAt(i);
}
return buf;
};
...@@ -15,16 +15,14 @@ ...@@ -15,16 +15,14 @@
"sourceMap": true, "sourceMap": true,
"baseUrl": ".", "baseUrl": ".",
"rootDir": ".", "rootDir": ".",
"paths": {
"@/*": ["./src/*"]
},
"jsx": "preserve", "jsx": "preserve",
"jsxFactory": "Taro.createElement", "jsxFactory": "Taro.createElement",
"allowJs": true, "allowJs": true,
"typeRoots": [ "typeRoots": ["node_modules/@types"]
"node_modules/@types"
]
}, },
"exclude": [ "exclude": ["node_modules", "dist"],
"node_modules",
"dist"
],
"compileOnSave": false "compileOnSave": false
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment