• 钉钉自动打卡


    在网上看到的很多关于钉钉自动打卡的文章,无一例外都是使用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. 在网页端「移动端」/「移动端脚本」点击右边的“运行”按钮,并选择设备,然后执行。
  • 相关阅读:
    KT148A语音芯片按键版本一对一触发播放功能描述_V4
    【freertos】013-任务通知及其实现细节
    NC102 在二叉树中找到两个节点的最近公共祖先(C++)- 中等、树
    SPSS列联表分析
    文件系统基础
    docker版jxTMS使用指南:python服务之访问数据库
    JS手写深拷贝
    8万字208道Java经典面试题总结(附答案)
    【软件工程】软件工程之道—《人月神话》读后思考
    11.22 - 每日一题 - 408
  • 原文地址:https://blog.csdn.net/m0_62326810/article/details/125535507