语音控制 调光的时候,只有开的灯才会调。

This commit is contained in:
2025-12-24 19:41:55 +08:00
parent 53cb2e9239
commit b575adb844
8 changed files with 68 additions and 12 deletions

View File

@@ -974,6 +974,7 @@ namespace RCUHost.Implement
//}
var c = hhh.SysHotel.Code;
var d = hhh.RoomNumber;
var hotelid = hhh.SysHotel.ID;
foreach (string cuid in a)//多个英文逗号隔开
{
@@ -987,9 +988,15 @@ namespace RCUHost.Implement
// TianMaoOperation.PostWebRequestToTianMao("PushWelcome",
// Newtonsoft.Json.JsonConvert.SerializeObject(new { HotelId = cuid.Split('&')[0], RoomNo = cuid.Split('&')[1], WelcomeText = b }), c, d);//通知天猫精灵播放欢迎词
//}
if (!string.IsNullOrEmpty(bb))
{
string ffg = "https://www.boonlive-rcu.com/welcomebgm/" + bb;
TianMaoOperation.PostWebRequestToTianMao("AddOrUpdateWelcomeText",
Newtonsoft.Json.JsonConvert.SerializeObject(new { HotelId = cuid.Split('&')[0], MusicUrl = ffg, WelcomeText = b }), c, d);//通知天猫精灵播放欢迎词
}
TianMaoOperation.PostWebRequestToTianMao("PushWelcome",
Newtonsoft.Json.JsonConvert.SerializeObject(new { HotelId = cuid.Split('&')[0], RoomNo = cuid.Split('&')[1], WelcomeText = b }), c, d);//通知天猫精灵播放欢迎词
TianMaoOperation.PostWebRequestToTianMao("PushWelcome",
Newtonsoft.Json.JsonConvert.SerializeObject(new { HotelId = cuid.Split('&')[0], RoomNo = cuid.Split('&')[1], WelcomeText = b }), c, d);//通知天猫精灵播放欢迎词
Interface3Log w1 = new Interface3Log();
w1.HotelCode = c;