fix军团:分服推送无法推全,放入chat服
This commit is contained in:
@@ -21,6 +21,15 @@ export function genCode(len) {
|
||||
return code;
|
||||
}
|
||||
|
||||
|
||||
export function generateNum(len: number) {
|
||||
let code = '';
|
||||
for (let i = 0; i < len; i++) {
|
||||
code += parseInt(`${Math.random() * 10}`);
|
||||
}
|
||||
return code;
|
||||
}
|
||||
|
||||
export function decodeStr(type, str, splitForm = '|') {
|
||||
if (str == '&' || !str) {
|
||||
return []
|
||||
|
||||
Reference in New Issue
Block a user