调试账单欠款

This commit is contained in:
lewis 2025-02-06 17:30:39 +08:00
parent f4d02f91aa
commit e42568dd03

View File

@ -26,8 +26,8 @@ class AccountsReceivableLogic extends BaseLogic
$model->order_id = $order['id'];
$model->store_id = $order['store_id'];
$model->user_id = $order['uid'];
$model->nickname = $order['other_data']['nickname'];
$model->phone = $order['other_data']['phone'];
$model->nickname = $order['other_data']->nickname;
$model->phone = $order['other_data']->phone;
$model->deadline = time() + 86400 * 15;
$model->total_debt = $order['total_price'];
$model->surplus_debt = $order['total_price'];