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 { /// /// 基础配置 站点基础信息 /// [ApiController] [Route("api/[controller]")] public class StationBasicInfoController { /// /// 站点基础信息 /// [HttpPost("StationBaseInfo")] public void StationBaseInfo() { } /// /// 站点编辑 /// [HttpPost("StationBaseInfo")] public void StationInfoEditor() { } [HttpPost] [Route("/api/sysFile/uploadAvatar")] public async Task> UploadAvatar([Required] IFormFile file) { return Result.Success(); } } }