mirror of http://gitlab.batiao8.com/yic/film.git
sync2
This commit is contained in:
parent
603f72e657
commit
ac7fe80e5b
|
@ -50,7 +50,7 @@ func (w *Worker) Run() {
|
||||||
for {
|
for {
|
||||||
select {
|
select {
|
||||||
case order := <-newOrderChan:
|
case order := <-newOrderChan:
|
||||||
if order.IsSeat == 2 || order.IsSeat == 1 {
|
if order.IsSeat == 1 {
|
||||||
w.qyClient.SendText([]string{"jiangyong"}, order.CinemaName+":"+order.MovieName)
|
w.qyClient.SendText([]string{"jiangyong"}, order.CinemaName+":"+order.MovieName)
|
||||||
}
|
}
|
||||||
if !strings.Contains(order.CinemaName, "大地影院") {
|
if !strings.Contains(order.CinemaName, "大地影院") {
|
||||||
|
|
Loading…
Reference in New Issue