From e09b1455ff589c71ea43c08cb7d5d871d7723551 Mon Sep 17 00:00:00 2001 From: CZ Date: Tue, 18 Jun 2024 16:30:15 +0800 Subject: [PATCH] =?UTF-8?q?get=20=E9=87=8D=E5=A4=8D=E8=B7=AF=E7=94=B1?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebStarter/Controllers/TBoxController.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/WebStarter/Controllers/TBoxController.cs b/WebStarter/Controllers/TBoxController.cs index 3a4ecc2..eb7dcd2 100644 --- a/WebStarter/Controllers/TBoxController.cs +++ b/WebStarter/Controllers/TBoxController.cs @@ -19,7 +19,7 @@ public class TBoxController : ControllerBase /// /// vin码 /// - [HttpGet("/connect/{carNo}")] + [HttpGet("/TBoxConnect/{carNo}")] public bool Connect(string carNo) { Log.Info($"Connect {carNo}"); @@ -32,7 +32,7 @@ public class TBoxController : ControllerBase /// /// vin码 /// "0:未解锁未上锁 1:解锁成功 2:上锁成功 3:无效数据 其他状态无效" - [HttpGet("/lock/{carNo}")] + [HttpGet("/TBoxlock/{carNo}")] public int Lock(string carNo) { Log.Info($"Lock {carNo}"); @@ -45,7 +45,7 @@ public class TBoxController : ControllerBase /// /// vin码 /// 发送状态 - [HttpGet("/unLock/{carNo}")] + [HttpGet("/TBoxUnLock/{carNo}")] public int UnLock(string carNo) { Log.Info($"UnLock {carNo}"); @@ -57,7 +57,7 @@ public class TBoxController : ControllerBase /// 获取车辆信息 /// /// - [HttpGet("/getCarInfo/{carNo}")] + [HttpGet("/TBoxGetCarInfo/{carNo}")] public TBoxInfo GetCarInfo(string carNo) { Log.Info($"DisConnect {carNo}"); @@ -102,7 +102,7 @@ public class TBoxController : ControllerBase /// /// vin码 /// - [HttpGet("/reset")] + [HttpGet("/TBoxReset")] public bool Reset() { Log.Info($"Reset ");