shopxo/app/api/controller/Base.php

42 lines
1.2 KiB
PHP
Raw Normal View History

2020-09-14 18:53:42 +08:00
<?php
// +----------------------------------------------------------------------
// | ShopXO 国内领先企业级B2C免费开源电商系统
// +----------------------------------------------------------------------
2021-03-16 10:34:52 +08:00
// | Copyright (c) 2011~2099 http://shopxo.net All rights reserved.
2020-09-14 18:53:42 +08:00
// +----------------------------------------------------------------------
2021-03-16 10:34:52 +08:00
// | Licensed ( https://opensource.org/licenses/mit-license.php )
2020-09-14 18:53:42 +08:00
// +----------------------------------------------------------------------
// | Author: Devil
// +----------------------------------------------------------------------
namespace app\api\controller;
2021-07-20 23:45:54 +08:00
use app\service\ApiService;
2021-04-11 15:51:06 +08:00
use app\service\SystemBaseService;
2020-09-14 18:53:42 +08:00
/**
* 基础公共接口
* @author Devil
* @blog http://gong.gg/
* @version 1.0.0
* @date 2020-09-12
* @desc description
*/
class Base extends Common
{
/**
* 配置信息
* @author Devil
* @blog http://gong.gg/
* @version 1.0.0
* @date 2020-09-12
* @desc description
*/
public function Common()
{
// 参数
$params = $this->data_post;
$params['user'] = $this->user;
2021-07-20 23:45:54 +08:00
return ApiService::ApiDataReturn(SystemBaseService::Common($params));
2020-09-14 18:53:42 +08:00
}
}
?>