Get return value for javascript function in Node.js route

后端 未结 0 396
时光说笑
时光说笑 2021-01-24 14:13

How do I return the value from my function getAmount() to my node.js route "calculate"? Can I do a simple req.body or do I have to call the function in my node.js rout

相关标签:
回答
  • 消灭零回复
提交回复
热议问题