const withdraw_test = require('../model/http_withdraw') const router = require('koa-router')() //导入 koa-router async function test() { var opts = { "type": "token", "contractAddress": "0xfb16179d5e84b0e3e7524ed61a9cf7b98d039b20", "amount": "12300000000", "chain": "czz", "receiver": "0x3B525c35DdC323B08241493f148340D89e3A73a7" } console.log('withdraw_test', await withdraw_test.withdraw(opts)) } // test() module.exports = router