Commit 11b7e488 authored by 李尚科's avatar 李尚科

user_sid fix

parent cf7d8cae
Pipeline #16680 passed with stage
in 6 seconds
This diff is collapsed.
...@@ -437,8 +437,9 @@ module.exports = { ...@@ -437,8 +437,9 @@ module.exports = {
decodeUserSid(code) { decodeUserSid(code) {
if (!code) return code;
const rand = 'OU1WjLvZCrRJ7Yo0gE2XDjuuaSAUuaH1bhHPuMymcdfEeKz0igRhXQkMuLTm1'; const rand = 'OU1WjLvZCrRJ7Yo0gE2XDjuuaSAUuaH1bhHPuMymcdfEeKz0igRhXQkMuLTm1';
code = code.substr(5); code = code.slice(5, code.length);
const begin = code.slice(0, 1); const begin = code.slice(0, 1);
let rtn = ''; let rtn = '';
const codelen = rand.slice(0, 11); const codelen = rand.slice(0, 11);
......
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