mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update Config.php
This commit is contained in:
parent
69bd775e72
commit
032e15466d
@ -12,6 +12,20 @@ use think\admin\Controller;
|
||||
*/
|
||||
class Config extends Controller
|
||||
{
|
||||
/**
|
||||
* 微信小程序配置
|
||||
* @auth true
|
||||
* @menu true
|
||||
* @throws \think\db\exception\DataNotFoundException
|
||||
* @throws \think\db\exception\DbException
|
||||
* @throws \think\db\exception\ModelNotFoundException
|
||||
*/
|
||||
public function wxapp()
|
||||
{
|
||||
$this->title = '微信小程序配置';
|
||||
$this->__sysconf('wxapp');
|
||||
}
|
||||
|
||||
/**
|
||||
* 短信接口配置
|
||||
* @auth true
|
||||
@ -22,8 +36,8 @@ class Config extends Controller
|
||||
*/
|
||||
public function message()
|
||||
{
|
||||
$this->title = '短信接口配置';
|
||||
if ($this->request->isGet()) {
|
||||
$this->title = '短信接口配置';
|
||||
$this->result = MessageService::instance()->balance();
|
||||
}
|
||||
$this->__sysconf('message');
|
||||
@ -44,20 +58,6 @@ class Config extends Controller
|
||||
$this->__sysdata('content');
|
||||
}
|
||||
|
||||
/**
|
||||
* 微信小程序配置
|
||||
* @auth true
|
||||
* @menu true
|
||||
* @throws \think\db\exception\DataNotFoundException
|
||||
* @throws \think\db\exception\DbException
|
||||
* @throws \think\db\exception\ModelNotFoundException
|
||||
*/
|
||||
public function wxapp()
|
||||
{
|
||||
$this->title = '微信小程序配置';
|
||||
$this->__sysconf('wxapp');
|
||||
}
|
||||
|
||||
/**
|
||||
* 应用轮播图片
|
||||
* @menu true
|
||||
|
Loading…
x
Reference in New Issue
Block a user