123456789101112131415161718192021222324 |
- <?php
- /**
- * Created by PhpStorm.
- * User: shensong
- * Date: 2019/11/27
- * Time: 17:06
- */
- namespace App;
- use Illuminate\Database\Eloquent\Model;
- class CustomerVip extends Model
- {
- public $timestamps = false;
- protected $table = 'customer_vip';
- public static function getCustomerInformation($phone) {
- $self = new self();
- $info = $self->where('phone',$phone)->where('is_del',0)->first();
- return $info;
- }
- }
|