@@ -25,6 +25,7 @@ class PayOrderService extends CrudService {
}
async toCharge(body = {}) {
+ body.payer_id = _.cloneDeep(body.student_id);
body.payer_role = 'Student';
body.pay_for = 'Charge';
body.time = moment().format('YYYY-MM-DD HH:mm:ss');