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