소스 검색

彩票投注订单合并

lip 3 달 전
부모
커밋
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')