Skip to content

Instantly share code, notes, and snippets.

Last active Jan 17, 2019
What would you like to do?
// 无root拉起钉钉打卡
var a = app.intent({
action: "VIEW",
data: "dingtalk://dingtalkclient/page/link?url="
//需要用到root权限 否则打不开
var TimeStamp = Math.round(new Date());
var corpId = ""; //自己想办法获取公司的ID ding开头的一串码
shell("am start -n"+
" -a android.intent.action.VIEW"+
" --es url '"+corpId+"&_biz=onDuty_remind'"+
" --el navi_to_open_mini_app "+TimeStamp+
" --es title '考勤打卡'", true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment