|
|
@@ -84,6 +84,16 @@ class ItemController extends BaseController
|
|
|
$requestType = $get['requestType'] ?? 'kd';
|
|
|
$classId = $get['classId'] ?? 0;
|
|
|
|
|
|
+ if (getenv('YII_ENV') == 'production') {
|
|
|
+ if (in_array($this->mainId, ['50', '7704'])) {
|
|
|
+ util::fail('已到期,请续费');
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ if (in_array($this->mainId, ['644'])) {
|
|
|
+ util::fail('已到期,请续费');
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
$where['mainId'] = $this->mainId;
|
|
|
if ($requestType == 'kd') {
|
|
|
$where['delStatus'] = 0;
|