|
@@ -57,7 +57,7 @@ class Sys extends Model
|
|
|
*/
|
|
*/
|
|
|
public function getDataInfo($code=""){
|
|
public function getDataInfo($code=""){
|
|
|
$sys = $this->where("id", 1)->find();
|
|
$sys = $this->where("id", 1)->find();
|
|
|
-// $data = $sys->toArray();
|
|
|
|
|
|
|
+ $data = $sys->toArray();
|
|
|
//微信配置
|
|
//微信配置
|
|
|
if(empty($data["wxconfig"])){
|
|
if(empty($data["wxconfig"])){
|
|
|
$data["wxconfig"]=[
|
|
$data["wxconfig"]=[
|