This commit is contained in:
aozhiwei 2021-12-03 12:16:09 +08:00
parent 4331033a9b
commit 7fe27eca41
2 changed files with 12 additions and 0 deletions

View File

@ -45,8 +45,13 @@ class SeasonCardController extends BaseAuthedController {
}
$this->seasonDb = Season::find($this->currSeasonMeta['id']);
if (!$this->seasonDb) {
Season::add($this->currSeasonMeta['id']);
$this->seasonDb = Season::find($this->currSeasonMeta['id']);
}
if (!$this->seasonDb) {
$this->_rspErr(10, '服务器内部错误');
die();
}
}
public function info()

View File

@ -0,0 +1,7 @@
<?php
namespace services;
class DropService extends BaseService {
}