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.
25 lines
465 B
25 lines
465 B
<?php
|
|
|
|
namespace app\api\controller\wxapp;
|
|
|
|
use app\api\controller\Controller;
|
|
use app\api\model\Setting as SettingModel;
|
|
|
|
/**
|
|
* 微信小程序订阅消息
|
|
* Class Submsg
|
|
* @package app\api\controller\wxapp
|
|
*/
|
|
class Submsg extends Controller
|
|
{
|
|
/**
|
|
* 获取订阅消息配置
|
|
* @return array
|
|
*/
|
|
public function setting()
|
|
{
|
|
$setting = SettingModel::getSubmsg();
|
|
return $this->renderSuccess(compact('setting'));
|
|
}
|
|
|
|
}
|