no message
This commit is contained in:
parent
0b999804fe
commit
5e28e1e352
@ -7,7 +7,7 @@ namespace App\Services\Article;
|
||||
use App\Models\ArticleSchema as ModelArticleSchema;
|
||||
use App\Models\SiteMap as ModelSiteMap;
|
||||
use App\Models\Option as ModelOption;
|
||||
use App\Services\TomTool\TelegramVdb;
|
||||
use App\Services\TomTool\Telegram\Slave as TeleSlave;
|
||||
use App\Services\TomTool\Flow;
|
||||
//use App\Services\Article\Cmd as ServiceArticleCmd;
|
||||
use App\Models\DogOption as ModelDogOption;
|
||||
@ -154,12 +154,12 @@ final class Schema
|
||||
$aOrderName = explode(',', $sOrderName);
|
||||
|
||||
if (!$sOrderName) {
|
||||
TelegramVdb::notify()->save("未设置option:".$sOrderKey."使用默认。");
|
||||
TeleSlave::notify()->save("未设置option:".$sOrderKey."使用默认。");
|
||||
$sDefaultOrderKey = "article::schema::order::default::type";
|
||||
$sDefaultOrderType = ModelOption::_hit($sDefaultOrderKey) ?? '';
|
||||
$aDefaultOrderType = explode(',', $sDefaultOrderType);
|
||||
if (!$sDefaultOrderType) {
|
||||
TelegramVdb::fail()->save("未设置option:".$sOrderKey."使用默认。");
|
||||
TeleSlave::fail()->save("未设置option:".$sOrderKey."使用默认。");
|
||||
return $oFlow->fail("未设置option的default排序");
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user