31 lines
862 B
PHP
31 lines
862 B
PHP
<?php
|
|
defined('WXAPP_APP') OR exit('No direct script access allowed');
|
|
/**
|
|
* Created by vim
|
|
* User: lcc
|
|
* Desc: 配置信息
|
|
* Date: 2021/07/27
|
|
* Time: 10:22
|
|
*/
|
|
require_once APPPATH . 'controllers/wxapp/Wxapp.php';
|
|
class Config extends Wxapp{
|
|
function __construct($inputs, $app_key){
|
|
parent::__construct($inputs, $app_key);
|
|
|
|
$this->login_white = array('get');//登录白名单
|
|
$this->check_status = array();//用户状态校验
|
|
$this->check_mobile = array();//需要手机号
|
|
$this->check_headimg =array();//授权微信信息
|
|
$this->load->model('app/app_model');
|
|
}
|
|
|
|
protected function get(){
|
|
$publish = $this->app_config('publish');
|
|
$data = array(
|
|
'publish' => intval($publish),
|
|
'service_phone' => '1812334344',
|
|
);
|
|
return $data;
|
|
}
|
|
}
|