test
function test(c1,c2,c3){ var ret = sum(c1,c2); var ret = sum(ret,c3); return ret; } function sum(num1,num2){ return Number(num1) + Number(num2); }
{ "jsFun": "asd", "jsContent": "function", "status": 1, "fromSoftId": 1, "remark": "阿萨德" }
curl --location --request POST '/myauth/web/addJs' \ --header 'token: 123' \ --header 'Content-Type: application/json' \ --data-raw '{ "jsFun": "asd", "jsContent": "function", "status": 1, "fromSoftId": 1, "remark": "阿萨德" }'
{ "code": 200, "success": true, "msg": "添加成功", "sign": "", "result": null, "timestamp": 1645591938714 }