Files
shopxo/app/admin/controller/Store.php

55 lines
1.4 KiB
PHP
Raw Normal View History

2019-06-13 17:10:36 +08:00
<?php
// +----------------------------------------------------------------------
// | ShopXO 国内领先企业级B2C免费开源电商系统
// +----------------------------------------------------------------------
2021-03-16 10:34:52 +08:00
// | Copyright (c) 2011~2099 http://shopxo.net All rights reserved.
2019-06-13 17:10:36 +08:00
// +----------------------------------------------------------------------
2021-03-16 10:34:52 +08:00
// | Licensed ( https://opensource.org/licenses/mit-license.php )
2019-06-13 17:10:36 +08:00
// +----------------------------------------------------------------------
// | Author: Devil
// +----------------------------------------------------------------------
namespace app\admin\controller;
2019-06-16 00:38:35 +08:00
use app\service\StoreService;
2019-06-13 17:10:36 +08:00
/**
* 应用商店
* @author Devil
* @blog http://gong.gg/
* @version 0.0.1
* @@date 2019-06-13
*/
class Store extends Common
{
/**
* 构造方法
* @author Devil
* @blog http://gong.gg/
* @version 1.0.0
* @date 2019-06-13
* @desc description
*/
public function __construct()
{
// 调用父类前置方法
parent::__construct();
// 登录校验
$this->IsLogin();
}
/**
* 应用商店首页
* @author Devil
* @blog http://gong.gg/
* @version 1.0.0
* @date 2019-06-13
* @desc description
*/
public function Index()
{
2021-07-18 23:42:10 +08:00
MyViewAssign('store_url', StoreService::StoreUrl());
return MyView();
2019-06-13 17:10:36 +08:00
}
}
?>