|
@@ -67,7 +67,7 @@ class Sys extends Model
|
|
|
"apiclient_cert"=>"",
|
|
"apiclient_cert"=>"",
|
|
|
"notify_url"=>""
|
|
"notify_url"=>""
|
|
|
];
|
|
];
|
|
|
- if(!empty($data->wxconfig)){
|
|
|
|
|
|
|
+ if(!empty($sys->wxconfig)){
|
|
|
$wxconfig = unserialize($sys->wxconfig);
|
|
$wxconfig = unserialize($sys->wxconfig);
|
|
|
}
|
|
}
|
|
|
//分享配置
|
|
//分享配置
|
|
@@ -77,7 +77,7 @@ class Sys extends Model
|
|
|
"query"=>"",
|
|
"query"=>"",
|
|
|
"content"=>"",
|
|
"content"=>"",
|
|
|
];
|
|
];
|
|
|
- if(!empty($data->shareconfig)){
|
|
|
|
|
|
|
+ if(!empty($sys->shareconfig)){
|
|
|
$shareconfig = unserialize($sys->shareconfig);
|
|
$shareconfig = unserialize($sys->shareconfig);
|
|
|
}
|
|
}
|
|
|
if($code=="weixin"){
|
|
if($code=="weixin"){
|