{
"id": 1
}
curl --location --request POST '/myauth/web/getJs' \
--header 'token: 2b036bd8139e44e1a8034e371d9584a7' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 1
}'
{
"code": 200,
"success": true,
"msg": "查询成功",
"sign": "",
"result": {
"id": 2,
"jsFun": "test",
"jsContent": "function test(c1,c2,c3){\r\n\tvar ret = sum(c1,c2);\r\n\tvar ret = sum(ret,c3);\r\n\treturn ret;\r\n}\r\n\r\nfunction sum(num1,num2){\r\n\treturn Number(num1) + Number(num2);\r\n}",
"addTime": 1644657622,
"status": 1,
"fromSoftId": 1,
"remark": "labore Ut consectetur nulla",
"fromSoftName": null
},
"timestamp": 1645618526028
}