...
|
...
|
@@ -234,6 +234,7 @@ class PayController extends HomeBaseController |
|
|
$money_income_teacher['book_num'] = $val['number'];
|
|
|
$money_income_teacher['uid'] = $teacher['uid'];
|
|
|
$money_income_teacher['indent_id'] = $order['id'];
|
|
|
$money_income_teacher['indent_json'] = json_encode($data_indent_goods,JSON_UNESCAPED_UNICODE);
|
|
|
Db::name('money_income') -> insert($money_income_teacher);
|
|
|
}
|
|
|
//增加老师余额
|
...
|
...
|
@@ -260,6 +261,7 @@ class PayController extends HomeBaseController |
|
|
$money_income_salesman_indent['money'] = $balance_salesman;
|
|
|
$money_income_salesman_indent['type'] = 2;
|
|
|
$money_income_salesman_indent['indent_id'] = $order['id'];
|
|
|
$money_income_teacher['indent_json'] = json_encode($data_indent_goods,JSON_UNESCAPED_UNICODE);
|
|
|
Db::name('money_income') -> insert($money_income_salesman_indent);
|
|
|
|
|
|
}
|
...
|
...
|
|