You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
668 B
26 lines
668 B
<?php
|
|
namespace app\api\controller\wanlshop;
|
|
|
|
use app\common\controller\Api;
|
|
/**
|
|
* WanlShop地址接口
|
|
*/
|
|
class Active extends Api
|
|
{
|
|
protected $noNeedLogin = ['getActiveList'];
|
|
protected $noNeedRight = ['*'];
|
|
public function _initialize()
|
|
{
|
|
parent::_initialize();
|
|
$this->model = new \app\admin\model\wanlshop\Active;
|
|
}
|
|
public function getActiveList(){
|
|
//查询会员信息
|
|
$list = $this->model->select();
|
|
return $this->success('ok',$list);
|
|
}
|
|
public function getVipConfig(){
|
|
$config = get_addon_config('wanlshop');
|
|
$this->success("获取成功",$config['vippayconfig']);
|
|
}
|
|
} |