Commit fe703cdc authored by 李尚科's avatar 李尚科

Fix user_sid substr 5

parent 95c168c6
Pipeline #16606 passed with stage
in 6 seconds
...@@ -438,7 +438,7 @@ module.exports = { ...@@ -438,7 +438,7 @@ module.exports = {
decodeUserSid(code) { decodeUserSid(code) {
const rand = 'OU1WjLvZCrRJ7Yo0gE2XDjuuaSAUuaH1bhHPuMymcdfEeKz0igRhXQkMuLTm1'; const rand = 'OU1WjLvZCrRJ7Yo0gE2XDjuuaSAUuaH1bhHPuMymcdfEeKz0igRhXQkMuLTm1';
const begin = code.substr(1).slice(0, 1); const begin = code.substr(5).slice(0, 1);
let rtn = ''; let rtn = '';
const codelen = rand.slice(0, 11); const codelen = rand.slice(0, 11);
const codenums = rand.slice(11, 23); const codenums = rand.slice(11, 23);
......
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