seven 4 ngày trước cách đây
mục cha
commit
5174bfefe0
1 tập tin đã thay đổi với 9 bổ sung0 xóa
  1. 9 0
      app/Models/PaymentOrder.php

+ 9 - 0
app/Models/PaymentOrder.php

@@ -1,5 +1,6 @@
 <?php
 
+
 namespace App\Models;
 
 class PaymentOrder extends BaseModel
@@ -7,6 +8,14 @@ class PaymentOrder extends BaseModel
 
     protected $table = 'payment_orders';
     protected $fillable = ['type', 'order_no', 'member_id', 'amount', 'channel', 'bank_name', 'account', 'card_no', 'status', 'callback_url', 'callback_data', 'remark', 'pay_no', 'pay_url', 'pay_data', 'fee'];
+    protected $hidden = [];
+    // // 添加这个
+    // protected $visible = [
+    //     'type', 'order_no', 'member_id', 'amount', 'channel', 
+    //     'bank_name', 'account', 'card_no', 'status', 'callback_url', 
+    //     'callback_data', 'remark', 'pay_no', 'pay_url', 'pay_data', 'fee',
+    //     'created_at', 'updated_at'  // 添加时间戳字段
+    // ];
 
 
     public function userInfo()