mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-07-07 06:15:29 +08:00
手机管理,支付宝小程序
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user