You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using Entity.DbModel.System.SysBaseObject;
|
|
|
|
|
using HybirdFrameworkCore.Entity;
|
|
|
|
|
using Microsoft.AspNetCore.Hosting;
|
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
|
using Service.System;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
|
|
namespace WebStarter.Controllers.BasicConfig
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 基础配置 站点基础信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ApiController]
|
|
|
|
|
[Route("api/[controller]")]
|
|
|
|
|
public class StationBasicInfoController
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 站点基础信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
[HttpPost("StationBaseInfo")]
|
|
|
|
|
public void StationBaseInfo()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 站点编辑
|
|
|
|
|
/// </summary>
|
|
|
|
|
[HttpPost("StationBaseInfo")]
|
|
|
|
|
public void StationInfoEditor()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[HttpPost]
|
|
|
|
|
[Route("/api/sysFile/uploadAvatar")]
|
|
|
|
|
public async Task<Result<SysFile>> UploadAvatar([Required] IFormFile file)
|
|
|
|
|
{
|
|
|
|
|
return Result<SysFile>.Success();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|