修复提现金额的历史遗留问题

This commit is contained in:
2024-09-30 11:39:02 +08:00
parent 8770f9c924
commit 2fcc6044b7
2 changed files with 2 additions and 1 deletions

View File

@@ -12,6 +12,7 @@ use Yii;
* @property int|null $order_id 订单ID
* @property int|null $order_type 订单类型1产品订单2挂号订单
* @property int|null $user_id 用户ID
* @property int|null $user_type 用户ID
* @property int|null $service_user_id 医生ID
* @property string|null $type 类型enter入账refund出账
* @property float|null $price 金额

View File

@@ -336,7 +336,7 @@ class EplpayCallbackController extends \yii\web\Controller
// 增加流水记录
$fundWater = new FundWater();
$fundWater->type = 'withdraw'; // 提现
$fundWater->order_type = 3; // 分账提现
$fundWater->order_type = 4; // 分账提现
$fundWater->order_id = $applyOrder->id;
$fundWater->user_id = $applyOrder->user_id;
$fundWater->user_type = $applyOrder->user_type;