1234567891011121314151617 |
- <?php
- namespace app\common\base\request;
- use think\Request;
- abstract class BaseRequest extends Request {
- public function __construct(array $options = []){
- $this->beforeConstruct($options);
- parent::__construct($options);
- $this->afterConstruct($options);
- }
- protected function beforeConstruct($options) {}
- protected function afterConstruct($options) {}
- }
|