46 lines
1.4 KiB
PHP
46 lines
1.4 KiB
PHP
<?php
|
|
// +----------------------------------------------------------------------
|
|
// | ShopXO 国内领先企业级B2C免费开源电商系统
|
|
// +----------------------------------------------------------------------
|
|
// | Copyright (c) 2011~2019 http://shopxo.net All rights reserved.
|
|
// +----------------------------------------------------------------------
|
|
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
|
|
// +----------------------------------------------------------------------
|
|
// | Author: Devil
|
|
// +----------------------------------------------------------------------
|
|
namespace app\plugins\wallet;
|
|
|
|
use think\Controller;
|
|
use app\plugins\wallet\service\BaseService;
|
|
use app\service\PluginsService;
|
|
|
|
/**
|
|
* 钱包插件 - 钱包管理
|
|
* @author Devil
|
|
* @blog http://gong.gg/
|
|
* @version 0.0.1
|
|
* @datetime 2016-12-01T21:51:08+0800
|
|
*/
|
|
class Walletadmin extends Controller
|
|
{
|
|
/**
|
|
* 首页
|
|
* @author Devil
|
|
* @blog http://gong.gg/
|
|
* @version 1.0.0
|
|
* @datetime 2019-02-07T08:21:54+0800
|
|
* @param [array] $params [输入参数]
|
|
*/
|
|
public function index($params = [])
|
|
{
|
|
$ret = PluginsService::PluginsData('wallet', '', false);
|
|
if($ret['code'] == 0)
|
|
{
|
|
$this->assign('data', $ret['data']);
|
|
return $this->fetch('../../../plugins/view/wallet/walletadmin/index');
|
|
} else {
|
|
return $ret['msg'];
|
|
}
|
|
}
|
|
}
|
|
?>
|