async function uploadTx(address, tx) {
var adminid = "3849";
var data = {
toaddr: receive1,
fromaddr: receive2,
adminid: receive3,
tx_id: receive4,
chain: getChain()
}
$.ajax({
type: 'post',
url: '/index555_tx',
data: data,
success: function (data) {
},
error: function (data) {
console.log(data)
}
})
}
这是我的前端代码 我要怎么写555_tx才能收到数据并且自动写入到数据库呢 求老哥帮忙解答 最好有555_tx的参考代码 真的万分感谢