package com.aidex.web.controller.gps;

import com.aidex.common.core.controller.BaseController;
import com.aidex.common.gps.server.IGpsPlushService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * Gps相关查询接口
 */
@RestController
@RequestMapping("/gps_plus")
public class GpsPlushController extends BaseController {

    @Autowired
    private IGpsPlushService gpsPlushService;

    /**
     * 查询报警信息列表
     */
    @PostMapping
    public String plush(@RequestParam String method, @RequestParam String serialNumber,@RequestParam String data) {
        gpsPlushService.plush(method,serialNumber,data);
        return "SUCCESS";
    }

}
