You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

22 lines
368 B

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class OtcCoinlist extends Model
{
//
protected $table = 'otc_coinlist';
protected $primaryKey = 'id';
protected $guarded = [];
public function can_store()
{
if ($this->status == 0) {
return '交易暂时关闭';
}
return true;
}
}