Sms.php 235 B

123456789101112131415
  1. <?php
  2. namespace App\Models;
  3. use Illuminate\Database\Eloquent\Model;
  4. class Sms extends Model
  5. {
  6. // 加上对应的字段
  7. protected $fillable = ['fromNumber','codetext','codetime','toPhone'];
  8. protected $table = 'sms';
  9. }