| | |
| | | import com.whyc.dto.CarCamera; |
| | | import com.whyc.dto.Login; |
| | | import com.whyc.pojo.Response; |
| | | import javafx.scene.effect.Bloom; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | |
| | | @Service |
| | |
| | | CarCamera carCamera=acsMain.getCarCamera(login); |
| | | return new Response().setII(1,carCamera!=null,carCamera,"获取门禁状态"); |
| | | } |
| | | //控制门禁 |
| | | public Response controllCarCamera(Login login) { |
| | | Boolean bl=acsMain.controllCarCamera(login); |
| | | return new Response().set(1,bl,"控制门禁"); |
| | | } |
| | | } |