作者 刘朕
1 个管道 的构建 通过 耗费 6 秒

支付回调调试

@@ -234,6 +234,7 @@ class PayController extends HomeBaseController @@ -234,6 +234,7 @@ class PayController extends HomeBaseController
234 $money_income_teacher['book_num'] = $val['number']; 234 $money_income_teacher['book_num'] = $val['number'];
235 $money_income_teacher['uid'] = $teacher['uid']; 235 $money_income_teacher['uid'] = $teacher['uid'];
236 $money_income_teacher['indent_id'] = $order['id']; 236 $money_income_teacher['indent_id'] = $order['id'];
  237 + $money_income_teacher['indent_json'] = json_encode($data_indent_goods,JSON_UNESCAPED_UNICODE);
237 Db::name('money_income') -> insert($money_income_teacher); 238 Db::name('money_income') -> insert($money_income_teacher);
238 } 239 }
239 //增加老师余额 240 //增加老师余额
@@ -260,6 +261,7 @@ class PayController extends HomeBaseController @@ -260,6 +261,7 @@ class PayController extends HomeBaseController
260 $money_income_salesman_indent['money'] = $balance_salesman; 261 $money_income_salesman_indent['money'] = $balance_salesman;
261 $money_income_salesman_indent['type'] = 2; 262 $money_income_salesman_indent['type'] = 2;
262 $money_income_salesman_indent['indent_id'] = $order['id']; 263 $money_income_salesman_indent['indent_id'] = $order['id'];
  264 + $money_income_teacher['indent_json'] = json_encode($data_indent_goods,JSON_UNESCAPED_UNICODE);
263 Db::name('money_income') -> insert($money_income_salesman_indent); 265 Db::name('money_income') -> insert($money_income_salesman_indent);
264 266
265 } 267 }