chore: 重写初始提交(清空历史,整理后全量提交)
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | YwxApp [ WE CAN DO IT JUST THINK ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2026-2036 http://ywxapp.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: ywxapp <admin@ywxapp.cn>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace addon\seo\controller\api;
|
||||
|
||||
/**
|
||||
* SEO增强对外 API(占位)
|
||||
*
|
||||
* 非市场类插件,遵循框架统一 Result 契约(code=0 成功)。
|
||||
* 如需与中心站市场联动再按 Market 系 code=1 契约调整。
|
||||
*/
|
||||
class Seo
|
||||
{
|
||||
/**
|
||||
* 示例:对外查询接口
|
||||
*/
|
||||
public function lists()
|
||||
{
|
||||
// TODO: 返回 SEO 配置/关键词等数据
|
||||
return json(['code' => 0, 'msg' => 'ok', 'data' => []]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user