BaseService.php 312 B

12345678910111213
  1. <?php
  2. namespace app\common\base\service;
  3. abstract class BaseService {
  4. public function __construct(){
  5. $this->beforeInit();
  6. $this->zskkInit();
  7. $this->afterInit();
  8. }
  9. protected function zskkInit() {}
  10. protected function beforeInit() {}
  11. protected function afterInit() {}
  12. }