|
@@ -48,7 +48,7 @@ class Sys extends Model
|
|
|
"title" => empty($data["title"])?"":$data["title"],
|
|
"title" => empty($data["title"])?"":$data["title"],
|
|
|
"query" => empty($data["query"])?"":$data["query"],
|
|
"query" => empty($data["query"])?"":$data["query"],
|
|
|
"content" => empty($data["content"])?"":$data["content"],
|
|
"content" => empty($data["content"])?"":$data["content"],
|
|
|
- "is_show" => empty($data["is_show"])?"":$data["is_show"],
|
|
|
|
|
|
|
+ "is_show" => empty($data["is_show"])?0:$data["is_show"],
|
|
|
];
|
|
];
|
|
|
@file_put_contents('quanju.txt', json_encode($save)."-应该保存的的传参\r\n", 8);
|
|
@file_put_contents('quanju.txt', json_encode($save)."-应该保存的的传参\r\n", 8);
|
|
|
|
|
|
|
@@ -100,7 +100,7 @@ class Sys extends Model
|
|
|
"title"=>"",
|
|
"title"=>"",
|
|
|
"query"=>"",
|
|
"query"=>"",
|
|
|
"content"=>"",
|
|
"content"=>"",
|
|
|
- "is_show"=>"",
|
|
|
|
|
|
|
+ "is_show"=>0,
|
|
|
];
|
|
];
|
|
|
if(!empty($sys->shareconfig)){
|
|
if(!empty($sys->shareconfig)){
|
|
|
$shareconfig = unserialize($sys->shareconfig);
|
|
$shareconfig = unserialize($sys->shareconfig);
|