|
|
@@ -68,7 +68,7 @@ class Sys extends Model
|
|
|
"notify_url"=>""
|
|
|
];
|
|
|
if(!empty($data->wxconfig)){
|
|
|
- $wxconfig = unserialize($data->wxconfig);
|
|
|
+ $wxconfig = unserialize($sys->wxconfig);
|
|
|
}
|
|
|
//分享配置
|
|
|
$shareconfig=[
|
|
|
@@ -78,7 +78,7 @@ class Sys extends Model
|
|
|
"content"=>"",
|
|
|
];
|
|
|
if(!empty($data->shareconfig)){
|
|
|
- $shareconfig = unserialize($data->shareconfig);
|
|
|
+ $shareconfig = unserialize($sys->shareconfig);
|
|
|
}
|
|
|
if($code=="weixin"){
|
|
|
return $wxconfig;
|
|
|
@@ -86,7 +86,7 @@ class Sys extends Model
|
|
|
if($code=="share"){
|
|
|
return $shareconfig;
|
|
|
}
|
|
|
- $data = $data->toArray();
|
|
|
+ $data = $sys->toArray();
|
|
|
$data["shareconfig"] = $shareconfig;
|
|
|
$data["wxconfig"] = $wxconfig;
|
|
|
return $data;
|