123456789101112131415161718192021222324252627 |
- <?php
- /**
- * Created by PhpStorm.
- * User: Mead
- * Date: 2019/8/5
- * Time: 3:22 PM
- */
- namespace App\Http\Requests;
- class WeappAuthorizationRequest extends FormRequest
- {
- /**
- * Get the validation rules that apply to the request.
- *
- * @return array
- */
- public function rules()
- {
- return [
- 'code' => 'required|string',
- 'appid' => 'required|string',
- 'invite_user_id' => 'sometimes|integer', // 邀请者id
- 'phone_detail' => 'sometimes'
- ];
- }
- }
|