手机管理,支付宝小程序

This commit is contained in:
devil_gong
2018-12-21 15:03:56 +08:00
parent 635a65ae6a
commit 392e8c0523
306 changed files with 13173 additions and 1112 deletions

View File

@ -1,7 +1,8 @@
<?php
namespace app\admin\controller;
use app\service\ConfigService;
/**
* 支付宝小程序 - 配置
* @author Devil
@ -40,10 +41,9 @@ class AppMiniAlipayConfig extends Common
public function Index()
{
// 配置信息
$data = db('Config')->getField('only_tag,name,describe,value,error_tips');
$this->assign('data', $data);
$this->assign('data', ConfigService::ConfigList());
$this->display('Index');
return $this->fetch();
}
/**
@ -55,7 +55,7 @@ class AppMiniAlipayConfig extends Common
*/
public function Save()
{
$this->MyConfigSave();
return ConfigService::ConfigSave($_POST);
}
}
?>