feat: 项目基础框架+配置+Kernel

This commit is contained in:
testadmin
2026-04-29 05:35:00 +08:00
parent 6ce7adcbfb
commit 9a6151fce3
5082 changed files with 437062 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class CurrencyProjectOrder extends Model
{
public $table = 'currency_project_order';
protected $appends = [
'type_text',
'status_text',
];
public function getTypeTextAttribute() {
$value = $this->attributes['type'];
$arr = [1=>'认购',2=>'抽签'];
return @$arr[$value];
}
public function getStatusTextAttribute() {
$value = $this->attributes['status'];
$arr = [1=>'已申请',2=>'已扣费',3=>'已完成'];
return @$arr[$value];
}
}