{
"groupCode": "sqlJsTest",
"code": "taskSend3",
"paramSql": {
"execContent": "function SqlJob(){ TaskSendSqlJs( {'code': 'taskSend','param': {'sql':'select * from dst','dstTable':'ddd'}})}",
"param":{"sql":"sql2342342","dstTable":"tablesdddd"}
}
}curl --location --request POST '/api/v1/system/job/task/send' \
--header 'iThings-token: {{iThings-token}}' \
--header 'iThings-project-id: 1786838173980422144' \
--header 'iThings-app-code: {{iThings-app-code}}' \
--header 'iThings-user-role: 1' \
--header 'Accept-Language: en' \
--header 'iThings-tenant-code;' \
--header 'Content-Type: application/json' \
--data-raw '{
"groupCode": "sqlJsTest",
"code": "taskSend3",
"paramSql": {
"execContent": "function SqlJob(){ TaskSendSqlJs( {'\''code'\'': '\''taskSend'\'','\''param'\'': {'\''sql'\'':'\''select * from dst'\'','\''dstTable'\'':'\''ddd'\''}})}",
"param":{"sql":"sql2342342","dstTable":"tablesdddd"}
}
}'{
"code": 0,
"msg": "success"
}
扫码加入 iThings微信交流群

扫码加入交流群