|
|
@@ -2295,9 +2295,9 @@ class WebsiteService implements WebsiteServiceInterface
|
|
|
// if (!in_array(1, $foot_type) ) {
|
|
|
// $missingTypes[] = "列表型底部导航";
|
|
|
// }
|
|
|
- if (!in_array(0, $foot_type)) {
|
|
|
- $missingTypes[] = "单页(详情)";
|
|
|
- }
|
|
|
+ if (!in_array(0, $foot_type) ) {
|
|
|
+ $missingTypes = "单页(详情)";
|
|
|
+ }
|
|
|
if (!empty($missingTypes)) {
|
|
|
$errorMessage = "请先添加" . $missingTypes . "!";
|
|
|
return Result::error($errorMessage, 0);
|