• 钉钉自动打卡


    在网上看到的很多关于钉钉自动打卡的文章,无一例外都是使用java或者js编程实现的,今天我来使用一个完全不同的方法,不编程直接通过配置参数来实现,实现步骤如下:

    创建自动构建

    进入冰狐智能辅助https://aznfz.com,在网页端「移动端」/「自动构建脚本」中新建一个“构建”。

    粘贴“元数据”

    通过元数据可以直接复制一个完全一样的构建。在上一步创建的构建右边点击“元数据”按钮,将如下元数据拷贝进入并保存,此时系统会根据元数据自动完成模块参数配置。

    {
        "type": "root",
        "children": [{
            "type": "declareVar",
            "var": [{
                "name": "temp",
                "type": "normal",
                "initType": "null",
                "initValue": "null"
            }, {
                "name": "ret",
                "type": "normal",
                "initType": "null",
                "initValue": "null"
            }, {
                "name": "view",
                "type": "normal",
                "initType": "null",
                "initValue": "null"
            }, {
                "name": "viewContainer",
                "type": "normal",
                "initType": "null",
                "initValue": "null"
            }, {
                "name": "tag",
                "type": "normal",
                "initType": "null",
                "initValue": "null"
            }, {
                "name": "item",
                "type": "normal",
                "initType": "null",
                "initValue": "null"
            }, {
                "name": "index",
                "type": "normal",
                "initType": "null",
                "initValue": "null"
            }, {
                "name": "data",
                "type": "normal",
                "initType": "string",
                "initValue": ""
            }, {
                "name": "text",
                "type": "normal",
                "initType": "string",
                "initValue": ""
            }]
        }, {
            "type": "main",
            "desc": "业务逻辑入口",
            "debug": false,
            "params": [],
            "children": [{
                "type": "launchApp",
                "desc": "启动APP",
                "debug": false,
                "packageName": "com.alibaba.android.rimet",
                "tag": "txt:消息|txt:我的#",
                "failed": "",
                "maxStep": "30",
                "children": [{
                    "type": "clickAndEnter",
                    "desc": "进入工作台",
                    "class": 1,
                    "debug": false,
                    "clickTag": "txt:工作台#",
                    "root": "",
                    "clickWidgetIndex": "0",
                    "family": [],
                    "descendant": [],
                    "checkTag": "txt:应用中心#",
                    "mode": "2",
                    "failed": "",
                    "duration": "500",
                    "maxStep": "5",
                    "beforeWait": "0",
                    "afterWait": "5000",
                    "children": [{
                        "type": "clickAndEnter",
                        "desc": "进入考勤页面",
                        "class": 1,
                        "debug": false,
                        "clickTag": "txt:考勤打卡#",
                        "root": "",
                        "clickWidgetIndex": "0",
                        "family": [],
                        "descendant": [],
                        "checkTag": "txt:统计|txt:打卡#",
                        "mode": "2",
                        "failed": "",
                        "duration": "500",
                        "maxStep": "15",
                        "beforeWait": "0",
                        "afterWait": "5000",
                        "children": [{
                            "type": "click",
                            "desc": "点击打卡",
                            "class": 1,
                            "debug": false,
                            "tag": "txt:上班打卡|txt:下班打卡#",
                            "root": "",
                            "widgetIndex": "0",
                            "family": [],
                            "descendant": [],
                            "mode": "2",
                            "failed": "",
                            "maxStep": "15",
                            "longClick": false,
                            "random": true,
                            "duration": "500",
                            "beforeWait": "0",
                            "afterWait": "1000"
                        }]
                    }]
                }]
            }]
        }],
        "desc": "根模块",
        "debug": false
    }

    编译运行

    1. 在网页端「移动端」/「自动构建脚本」点击右边的“编译”按钮,将自动构建编译成与自动构建名称相同的js脚本。
    2. 在网页端「移动端」/「移动端脚本」点击右边的“发布”按钮发布脚本。
    3. 在网页端「移动端」/「移动端脚本」点击右边的“运行”按钮,并选择设备,然后执行。
  • 相关阅读:
    oracle 表空间相关介绍及操作
    【数据结构】查找— —线性表的查找(顺序查找、折半查找、分块查找)
    记一次 ClickHouse 性能测试
    同花顺_代码解析_技术指标_EJK
    vue之使用箭头函数导致表格无法刷新数据
    Java调用ffmpeg把rtsp视频流保存为MP4文件,并播放
    只会Excel想做图表可视化,让数据动起来?可以,快来围观啦(附大量模板下载)
    反序列化__wakeup
    MySQL:获取Auto_increment失败问题记录
    动静态库生成&&使用
  • 原文地址:https://blog.csdn.net/m0_62326810/article/details/125535507