|
|
@@ -1119,7 +1119,11 @@ namespace DigitalSchoolApi.Controllers |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// 开门 |
|
|
|
/// </summary> |
|
|
|
/// <param name="id"></param> |
|
|
|
/// <returns></returns> |
|
|
|
public static string OpenDoor(string id) |
|
|
|
{ |
|
|
|
using (IDbConnection connmis = new SqlConnection(_misConnection)) |
|
|
@@ -1170,7 +1174,10 @@ namespace DigitalSchoolApi.Controllers |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// 关门 |
|
|
|
/// </summary> |
|
|
|
/// <param name="id"></param> |
|
|
|
public static void CloseDoor(string id) |
|
|
|
{ |
|
|
|
using (IDbConnection connmis = new SqlConnection(_misConnection)) |
|
|
|