alipay.repository.js 222 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 const mysql = require('./mysql-client'); const TABEL = 'user_alipay'; async function insert(data) { return mysql(TABEL).insert({ ...data, createdAt: new Date().valueOf() }); } module.exports = { insert };