lip 1 неделя назад
Родитель
Сommit
ee90b603ff
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      app/Models/LhcOrder.php

+ 4 - 0
app/Models/LhcOrder.php

@@ -10,6 +10,10 @@ class LhcOrder extends BaseModel
     public $timestamps = true;
     protected $dateFormat = 'U'; // U 代表 UNIX 时间戳(int)
 
+    const STATUS_STAY = 1;
+    const STATUS_SETTLED = 2;
+    const STATUS_CANCEL = 3;
+    
     public function lottery()
     {
         return $this->belongsTo(LhcLottery::class, 'issue', 'issue')