1
This commit is contained in:
parent
4331033a9b
commit
7fe27eca41
@ -45,8 +45,13 @@ class SeasonCardController extends BaseAuthedController {
|
|||||||
}
|
}
|
||||||
$this->seasonDb = Season::find($this->currSeasonMeta['id']);
|
$this->seasonDb = Season::find($this->currSeasonMeta['id']);
|
||||||
if (!$this->seasonDb) {
|
if (!$this->seasonDb) {
|
||||||
|
Season::add($this->currSeasonMeta['id']);
|
||||||
$this->seasonDb = Season::find($this->currSeasonMeta['id']);
|
$this->seasonDb = Season::find($this->currSeasonMeta['id']);
|
||||||
}
|
}
|
||||||
|
if (!$this->seasonDb) {
|
||||||
|
$this->_rspErr(10, '服务器内部错误');
|
||||||
|
die();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function info()
|
public function info()
|
||||||
|
7
webapp/services/DropService.php
Normal file
7
webapp/services/DropService.php
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace services;
|
||||||
|
|
||||||
|
class DropService extends BaseService {
|
||||||
|
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user