Compare commits
2 Commits
master
...
5beae1b39b
| Author | SHA1 | Date | |
|---|---|---|---|
| 5beae1b39b | |||
| d314cfd12a |
@@ -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();
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
use think\migration\Migrator;
|
||||
use think\migration\db\Column;
|
||||
|
||||
class SysMallStoreEntrance extends Migrator
|
||||
class CreateSysMallStoreEntrance extends Migrator
|
||||
{
|
||||
/**
|
||||
* Change Method.
|
||||
Reference in New Issue
Block a user