Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
d7d36a28c0 | ||
![]() |
613ccca7b4 | ||
![]() |
07eaa5c274 | ||
![]() |
2e81eb42d3 |
@@ -21,7 +21,7 @@ class ApiCategorySeed extends Seeder
|
||||
* More information on writing seeders is available here:
|
||||
* http://docs.phinx.org/en/latest/seeding.html
|
||||
*/
|
||||
public function run()
|
||||
public function run(): void
|
||||
{
|
||||
$data = array (
|
||||
0 =>
|
||||
|
@@ -21,7 +21,7 @@ class ApiTesterSeed extends Seeder
|
||||
* More information on writing seeders is available here:
|
||||
* http://docs.phinx.org/en/latest/seeding.html
|
||||
*/
|
||||
public function run()
|
||||
public function run(): void
|
||||
{
|
||||
$data = array (
|
||||
0 =>
|
||||
|
@@ -21,7 +21,7 @@ class ApiTesterUserenvSeed extends Seeder
|
||||
* More information on writing seeders is available here:
|
||||
* http://docs.phinx.org/en/latest/seeding.html
|
||||
*/
|
||||
public function run()
|
||||
public function run(): void
|
||||
{
|
||||
$data = array (
|
||||
0 =>
|
||||
|
@@ -20,7 +20,8 @@ class ApimanagerMenusSeed extends Seeder {
|
||||
* More information on writing seeders is available here:
|
||||
* http://docs.phinx.org/en/latest/seeding.html
|
||||
*/
|
||||
public function run() {
|
||||
public function run(): void
|
||||
{
|
||||
\catcher\Utils::importTreeData($this->getPermissions(), 'permissions', 'parent_id');
|
||||
}
|
||||
|
||||
|
@@ -21,7 +21,7 @@ class CmsMenusSeed extends Seeder
|
||||
* More information on writing seeders is available here:
|
||||
* http://docs.phinx.org/en/latest/seeding.html
|
||||
*/
|
||||
public function run()
|
||||
public function run(): void
|
||||
{
|
||||
\catcher\Utils::importTreeData($this->getPermissions(), 'permissions', 'parent_id');
|
||||
}
|
||||
|
@@ -21,7 +21,7 @@ class DomainMenusSeed extends Seeder
|
||||
* More information on writing seeders is available here:
|
||||
* http://docs.phinx.org/en/latest/seeding.html
|
||||
*/
|
||||
public function run()
|
||||
public function run(): void
|
||||
{
|
||||
\catcher\Utils::importTreeData($this->getPermissions(), 'permissions', 'parent_id');
|
||||
}
|
||||
|
@@ -21,7 +21,7 @@ class MonitorMenusSeed extends Seeder
|
||||
* More information on writing seeders is available here:
|
||||
* http://docs.phinx.org/en/latest/seeding.html
|
||||
*/
|
||||
public function run()
|
||||
public function run(): void
|
||||
{
|
||||
\catcher\Utils::importTreeData($this->getPermissions(), 'permissions', 'parent_id');
|
||||
}
|
||||
|
@@ -12,7 +12,7 @@ class DepartmentsSeed extends Seeder
|
||||
* More information on writing seeders is available here:
|
||||
* http://docs.phinx.org/en/latest/seeding.html
|
||||
*/
|
||||
public function run()
|
||||
public function run(): void
|
||||
{
|
||||
$data = [
|
||||
[
|
||||
|
@@ -12,7 +12,7 @@ class PermissionsMenusSeed extends Seeder
|
||||
* More information on writing seeders is available here:
|
||||
* http://docs.phinx.org/en/latest/seeding.html
|
||||
*/
|
||||
public function run()
|
||||
public function run(): void
|
||||
{
|
||||
\catcher\Utils::importTreeData($this->getPermissions(), 'permissions', 'parent_id');
|
||||
}
|
||||
|
@@ -20,7 +20,7 @@ class RolesSeed extends Seeder
|
||||
* More information on writing seeders is available here:
|
||||
* http://docs.phinx.org/en/latest/seeding.html
|
||||
*/
|
||||
public function run()
|
||||
public function run(): void
|
||||
{
|
||||
\catchAdmin\permissions\model\Roles::create([
|
||||
'role_name' => '超级管理员',
|
||||
|
@@ -12,9 +12,9 @@ class UsersSeed extends Seeder
|
||||
* More information on writing seeders is available here:
|
||||
* http://docs.phinx.org/en/latest/seeding.html
|
||||
*/
|
||||
public function run()
|
||||
public function run(): void
|
||||
{
|
||||
return \catchAdmin\permissions\model\Users::create([
|
||||
\catchAdmin\permissions\model\Users::create([
|
||||
'username' => 'admin',
|
||||
'password' => 'catchadmin',
|
||||
'email' => 'catch@admin.com',
|
||||
|
@@ -21,7 +21,7 @@ class SmsMenusSeed extends Seeder
|
||||
* More information on writing seeders is available here:
|
||||
* http://docs.phinx.org/en/latest/seeding.html
|
||||
*/
|
||||
public function run()
|
||||
public function run(): void
|
||||
{
|
||||
\catcher\Utils::importTreeData($this->getPermissions(), 'permissions', 'parent_id');
|
||||
}
|
||||
|
@@ -12,7 +12,7 @@ class ConfigSeed extends Seeder
|
||||
* More information on writing seeders is available here:
|
||||
* http://docs.phinx.org/en/latest/seeding.html
|
||||
*/
|
||||
public function run()
|
||||
public function run(): void
|
||||
{
|
||||
$data = [
|
||||
[
|
||||
|
@@ -21,7 +21,7 @@ class SystemMenusSeed extends Seeder
|
||||
* More information on writing seeders is available here:
|
||||
* http://docs.phinx.org/en/latest/seeding.html
|
||||
*/
|
||||
public function run()
|
||||
public function run(): void
|
||||
{
|
||||
\catcher\Utils::importTreeData($this->getPermissions(), 'permissions', 'parent_id');
|
||||
}
|
||||
|
@@ -21,7 +21,7 @@ class WechatMenusSeed extends Seeder
|
||||
* More information on writing seeders is available here:
|
||||
* http://docs.phinx.org/en/latest/seeding.html
|
||||
*/
|
||||
public function run()
|
||||
public function run(): void
|
||||
{
|
||||
\catcher\Utils::importTreeData($this->getPermissions(), 'permissions', 'parent_id');
|
||||
}
|
||||
|
@@ -22,7 +22,7 @@
|
||||
"topthink/think-orm": "2.0.49",
|
||||
"topthink/think-migration": "^3.0",
|
||||
"thans/tp-jwt-auth": "^1.1",
|
||||
"overtrue/wechat": "^4.2",
|
||||
"w7corp/easywechat": "^4.2",
|
||||
"phpoffice/phpspreadsheet": "^1.12",
|
||||
"dragonmantank/cron-expression": "3.1",
|
||||
"symfony/finder": "^4.4",
|
||||
@@ -57,7 +57,10 @@
|
||||
}
|
||||
},
|
||||
"config": {
|
||||
"preferred-install": "dist"
|
||||
"preferred-install": "dist",
|
||||
"allow-plugins": {
|
||||
"easywechat-composer/easywechat-composer": true
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"post-autoload-dump": [
|
||||
|
Reference in New Issue
Block a user