mirror of
https://github.com/CoreUnion/CoreShop.git
synced 2026-10-18 06:21:20 +08:00
dcacf44dac
* 【更新】调整菜单管理反射获取所有Controller和Action授权的方法。【修复】数据库SysMenu表修复path路径与访问的文件夹或… * 【修复】修复因代码生成器编写错误,导致webapi继承controller的问题,改回ControllerBase。Aciont修改为统一返… * 【优化】优化根据经纬度距离查询门店数据的方法。
29 lines
964 B
C#
29 lines
964 B
C#
/***********************************************************************
|
|
* Project: CoreCms
|
|
* ProjectName: 核心内容管理系统
|
|
* Web: https://www.corecms.net
|
|
* Author: 大灰灰
|
|
* Email: jianweie@163.com
|
|
* CreateTime: 2021/1/31 21:45:10
|
|
* Description: 暂无
|
|
***********************************************************************/
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace CoreCms.Net.Web.WebApi.Controllers
|
|
{
|
|
/// <summary>
|
|
/// 默认接口示例
|
|
/// </summary>
|
|
public class DemoController : ControllerBase
|
|
{
|
|
/// <summary>
|
|
/// 默认首页
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public IActionResult Index()
|
|
{
|
|
return Content("已结束");
|
|
}
|
|
}
|
|
} |