mirror of
https://github.com/LinYuanovo/scripts.git
synced 2024-09-18 04:24:54 +08:00
小米步数
This commit is contained in:
parent
7e275c92dd
commit
62b4118e38
5
xmbs.js
5
xmbs.js
@ -4,6 +4,7 @@
|
|||||||
* 日期:6-6
|
* 日期:6-6
|
||||||
* 变量格式:export xmbs='小米运动&密码&步数@xxx ' 多个账号用@分割
|
* 变量格式:export xmbs='小米运动&密码&步数@xxx ' 多个账号用@分割
|
||||||
* 定时一天一次
|
* 定时一天一次
|
||||||
|
* 更新成换行登录
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const $ = new Env('小米步数');
|
const $ = new Env('小米步数');
|
||||||
@ -178,8 +179,8 @@
|
|||||||
// ============================================变量检查============================================ \\
|
// ============================================变量检查============================================ \\
|
||||||
async function Envs() {
|
async function Envs() {
|
||||||
if (xmbs) {
|
if (xmbs) {
|
||||||
if (xmbs.indexOf("@") != -1) {
|
if (xmbs.indexOf("\n") != -1) {
|
||||||
xmbs.split("@").forEach((item) => {
|
xmbs.split("\n").forEach((item) => {
|
||||||
xmbsArr.push(item);
|
xmbsArr.push(item);
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user