2 Commits

Author SHA1 Message Date
5beae1b39b Rename migration file and class for consistency
All checks were successful
Gitea Actions Official-website / deploy-dev (push) Successful in 5s
2026-07-07 11:10:14 +08:00
d314cfd12a Fix static method call to instance method in VideoCategory
All checks were successful
Gitea Actions Official-website / deploy-dev (push) Successful in 4s
2026-07-07 11:02:34 +08:00
2 changed files with 3 additions and 3 deletions

View File

@@ -151,7 +151,7 @@ class VideoCategory
$validate = new VideoCategoryValidate;
if (!$validate->scene('sort')->check(['id' => $id,'sort' => $sort])) {
return error($validate::getError());
return error($validate->getError());
}
$category = VideoCategoryModel::bypk($id)->find();

View File

@@ -3,7 +3,7 @@
use think\migration\Migrator;
use think\migration\db\Column;
class SysMallStoreEntrance extends Migrator
class CreateSysMallStoreEntrance extends Migrator
{
/**
* Change Method.