using HybirdFrameworkDriver.Session; using log4net; using Microsoft.AspNetCore.Mvc; using Service.Car.Server; using Service.TBox.Msg.Host; using Service.TBox.Server; namespace WebStarter.Controllers; /// /// 车辆管理 /// [ApiController] [Route("[controller]")] public class TBoxController : ControllerBase { private static readonly ILog Log = LogManager.GetLogger(typeof(TBoxController)); /// /// 加锁 /// /// vin码 /// [HttpGet("/lock/{carNo}")] public bool Lock() { Log.Info($"Lock"); return false; } /// /// 解锁 /// /// vin码 /// [HttpGet("/unLock/{carNo}")] public bool UnLock(string carNo) { Log.Info($"UnLock {carNo}"); return false; } /// /// 重启 /// /// [HttpGet("/Restart")] public bool Restart() { Log.Info($"Restart"); return false; } }