Sign in

Qiang Wei / admin_yangzhou · Files

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Forks
  • Network
  • admin_yangzhou
  • app
  • Http
  • Requests
  • Backend
  • Beacon
  • DevicedRequest.php
  • update
    a3a19393
    weiqiang authored
    2019-01-15 14:37:18 +0800  
    Browse Files »
DevicedRequest.php 415 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/3/9
 * Time: 17:26
 */

namespace App\Http\Requests\Backend\Beacon;

use App\Http\Requests\Request;
class DevicedRequest     extends Request
{
    public function authorize()
    {
        return access()->allow('manage-beacon');
    }

    public function  rules(){
        return [
            'deviced_id' => 'required',
        ];

    }

}