lrf 2 سال پیش
والد
کامیت
be7d4772d2
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/service/user/point.js

+ 1 - 1
app/service/user/point.js

@@ -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);
   }
 }