@@ -53,7 +53,7 @@ class PointService extends CrudService {
async refundPoint({ customer, money, source, source_id }, tran) {
const data = { customer, money, time: moment().format('YYYY-MM-DD HH:mm:ss'), status: '1', source, source_id };
- tran.insert(data);
+ tran.insert('Point', data);
}