-
Notifications
You must be signed in to change notification settings - Fork 982
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #203 from Qsnh/dev
v4.5.4
- Loading branch information
Showing
10 changed files
with
134 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,5 +10,5 @@ | |
|
||
class MeEdu | ||
{ | ||
const VERSION = 'v4.5.3'; | ||
const VERSION = 'v4.5.4'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the Qsnh/meedu. | ||
* | ||
* (c) 杭州白书科技有限公司 | ||
*/ | ||
|
||
namespace App\Meedu\UpgradeLog; | ||
|
||
use App\Services\Base\Model\AppConfig; | ||
|
||
class UpgradeToV454 | ||
{ | ||
public static function handle() | ||
{ | ||
self::appConfigAppUrlUpdate(); | ||
self::appConfigH5UrlUpdate(); | ||
self::appConfigPcUrlUpdate(); | ||
} | ||
|
||
protected static function appConfigAppUrlUpdate() | ||
{ | ||
AppConfig::query() | ||
->where('key', 'app.url') | ||
->update([ | ||
'name' => 'API访问地址', | ||
'help' => '请填写API访问地址,需携带http://或https://协议', | ||
]); | ||
} | ||
|
||
protected static function appConfigPcUrlUpdate() | ||
{ | ||
AppConfig::query() | ||
->where('key', 'meedu.system.pc_url') | ||
->update([ | ||
'name' => 'PC访问地址', | ||
'help' => '请填写PC界面访问地址,需携带http://或https://协议', | ||
]); | ||
} | ||
|
||
protected static function appConfigH5UrlUpdate() | ||
{ | ||
AppConfig::query() | ||
->where('key', 'meedu.system.h5_url') | ||
->update([ | ||
'name' => 'H5访问地址', | ||
'help' => '请填写H5界面访问地址,需携带http://或https://协议', | ||
]); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters