|
|
@ -206,7 +206,7 @@ async function resetCurrentConnections() {
|
|
|
|
* 登录: 当前服务的所有连接
|
|
|
|
* 登录: 当前服务的所有连接
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
async function loginCurrentConnections() {
|
|
|
|
async function loginCurrentConnections() {
|
|
|
|
const currents = await getConnection({ connect_domain: domain, connect_name: domainName });
|
|
|
|
const currents = await getConnection({ connect_domain: domain, connect_name: domainName, status: 'open' });
|
|
|
|
for (const user of currents) {
|
|
|
|
for (const user of currents) {
|
|
|
|
const { wa_id: waId } = user;
|
|
|
|
const { wa_id: waId } = user;
|
|
|
|
const phone = waId.replace('+', '');
|
|
|
|
const phone = waId.replace('+', '');
|
|
|
|