|
@@ -50,7 +50,7 @@ public class IndexController { ;
|
|
|
@Autowired
|
|
|
TParametersService parametersService;
|
|
|
@ApiOperation(value = "心跳")
|
|
|
- @PostMapping("/heart")
|
|
|
+ @PostMapping("/heart.htm")
|
|
|
public JsonMessage heart(@RequestBody EquipmentVo equipmentVo) {
|
|
|
|
|
|
String clientId = equipmentVo.getClientId();
|
|
@@ -504,7 +504,7 @@ public class IndexController { ;
|
|
|
* @param
|
|
|
* @return
|
|
|
*/
|
|
|
- @RequestMapping(value = "/updateFlowers", method = RequestMethod.POST)
|
|
|
+ @RequestMapping(value = "/updateFlowers.htm", method = RequestMethod.POST)
|
|
|
@ResponseBody
|
|
|
public JsonMessage updateFlowers(String clientId,String number){
|
|
|
LambdaQueryWrapper<TEquipment> query = Wrappers.lambdaQuery();
|
|
@@ -559,7 +559,7 @@ public class IndexController { ;
|
|
|
|
|
|
* @return
|
|
|
*/
|
|
|
- @RequestMapping(value = "/equimentType", method = RequestMethod.POST)
|
|
|
+ @RequestMapping(value = "/equimentType.htm", method = RequestMethod.POST)
|
|
|
@ResponseBody
|
|
|
public JsonMessage equimentType(String clientId, String equimentType){
|
|
|
if(!StringUtils.isEmpty(equimentType)){
|
|
@@ -784,7 +784,7 @@ public class IndexController { ;
|
|
|
* @param clientId
|
|
|
* @return
|
|
|
*/
|
|
|
- @RequestMapping(value = "/separate", method = RequestMethod.POST)
|
|
|
+ @RequestMapping(value = "/separate.htm", method = RequestMethod.POST)
|
|
|
@ResponseBody
|
|
|
public JsonMessage separate(String clientId) {
|
|
|
LambdaQueryWrapper<TEquipment> query = Wrappers.lambdaQuery();
|
|
@@ -809,7 +809,7 @@ public class IndexController { ;
|
|
|
/**
|
|
|
* 修改设备联系人名称以及电话
|
|
|
*/
|
|
|
- @RequestMapping(value = "/updateContractPN", method = RequestMethod.POST)
|
|
|
+ @RequestMapping(value = "/updateContractPN.htm", method = RequestMethod.POST)
|
|
|
@ResponseBody
|
|
|
public JsonMessage updateContractPN(String clientId, String contactName, String contactPhone) {
|
|
|
LambdaQueryWrapper<TEquipment> query = Wrappers.lambdaQuery();
|
|
@@ -828,7 +828,7 @@ public class IndexController { ;
|
|
|
/**
|
|
|
* 设备上传公司电话
|
|
|
*/
|
|
|
- @RequestMapping(value = "/sentCompanyPhone", method = RequestMethod.POST)
|
|
|
+ @RequestMapping(value = "/sentCompanyPhone.htm", method = RequestMethod.POST)
|
|
|
@ResponseBody
|
|
|
public JsonMessage sentCompanyPhone(String clientId, String companyPhone) {
|
|
|
LambdaQueryWrapper<TEquipment> query = Wrappers.lambdaQuery();
|
|
@@ -845,7 +845,7 @@ public class IndexController { ;
|
|
|
/**
|
|
|
* 获取二维码图片
|
|
|
*/
|
|
|
- @RequestMapping(value = "/getQrCodeImgUrl", method = RequestMethod.GET)
|
|
|
+ @RequestMapping(value = "/getQrCodeImgUrl.htm", method = RequestMethod.GET)
|
|
|
@ResponseBody
|
|
|
public String getQrCodeImgUrl(String clientId) {
|
|
|
LambdaQueryWrapper<TEquipment> query = Wrappers.lambdaQuery();
|
|
@@ -868,7 +868,7 @@ public class IndexController { ;
|
|
|
/**
|
|
|
* 上传4G卡号
|
|
|
*/
|
|
|
- @RequestMapping(value = "/sentSimNo", method = RequestMethod.POST)
|
|
|
+ @RequestMapping(value = "/sentSimNo.htm", method = RequestMethod.POST)
|
|
|
@ResponseBody
|
|
|
public JsonMessage sentSimNo(String clientId, String simNo) {
|
|
|
LambdaQueryWrapper<TEquipment> query = Wrappers.lambdaQuery();
|
|
@@ -890,7 +890,7 @@ public class IndexController { ;
|
|
|
* @param eqeStatus 设备状态1开 0关
|
|
|
* @return
|
|
|
*/
|
|
|
- @RequestMapping(value = "/updateEqeStatus", method = RequestMethod.POST)
|
|
|
+ @RequestMapping(value = "/updateEqeStatus.htm", method = RequestMethod.POST)
|
|
|
@ResponseBody
|
|
|
public JsonMessage updateEqeStatus(String clientId, Integer eqeStatus) {
|
|
|
LambdaQueryWrapper<TEquipment> query = Wrappers.lambdaQuery();
|
|
@@ -914,7 +914,7 @@ public class IndexController { ;
|
|
|
* @param eqeStatus 设备状态1开 0关
|
|
|
* @return
|
|
|
*/
|
|
|
- @RequestMapping(value = "/updateEqeStatusNew", method = RequestMethod.POST)
|
|
|
+ @RequestMapping(value = "/updateEqeStatusNew.htm", method = RequestMethod.POST)
|
|
|
@ResponseBody
|
|
|
public JsonMessage updateEqeStatusNew(String clientId, Integer eqeStatus,String netTime) {
|
|
|
LambdaQueryWrapper<TEquipment> query = Wrappers.lambdaQuery();
|
|
@@ -938,7 +938,7 @@ public class IndexController { ;
|
|
|
* @param block
|
|
|
* @return
|
|
|
*/
|
|
|
- @RequestMapping(value = "/updateBlock", method = RequestMethod.POST)
|
|
|
+ @RequestMapping(value = "/updateBlock.htm", method = RequestMethod.POST)
|
|
|
@ResponseBody
|
|
|
public JsonMessage updateBlock(String clientId, Boolean block) {
|
|
|
LambdaQueryWrapper<TEquipment> query = Wrappers.lambdaQuery();
|
|
@@ -960,7 +960,7 @@ public class IndexController { ;
|
|
|
* @param is_sleep
|
|
|
* @return
|
|
|
*/
|
|
|
- @RequestMapping(value = "/updateSleep", method = RequestMethod.POST)
|
|
|
+ @RequestMapping(value = "/updateSleep.htm", method = RequestMethod.POST)
|
|
|
@ResponseBody
|
|
|
public JsonMessage updateSleep(String clientId, Boolean is_sleep) {
|
|
|
LambdaQueryWrapper<TEquipment> query = Wrappers.lambdaQuery();
|
|
@@ -1032,7 +1032,7 @@ public class IndexController { ;
|
|
|
* @param
|
|
|
* @return
|
|
|
*/
|
|
|
- @PostMapping(value = "/updateParamNew/{code}/{clientId}", produces = "application/json;charset=UTF-8")
|
|
|
+ @PostMapping(value = "/updateParamNew.htm/{code}/{clientId}", produces = "application/json;charset=UTF-8")
|
|
|
@ResponseBody
|
|
|
public JsonMessage updateParamNew(@PathVariable Integer code, @PathVariable String clientId, @RequestBody List<CommonParamVo> commonParamVos) {
|
|
|
LambdaQueryWrapper<TEquipment> query = Wrappers.lambdaQuery();
|
|
@@ -1082,7 +1082,7 @@ public class IndexController { ;
|
|
|
* @param
|
|
|
* @return
|
|
|
*/
|
|
|
- @PostMapping(value = "/updateAloneParam", produces = "application/json;charset=UTF-8")
|
|
|
+ @PostMapping(value = "/updateAloneParam.htm", produces = "application/json;charset=UTF-8")
|
|
|
@ResponseBody
|
|
|
public JsonMessage updateAloneParam(String code, String clientId,String name,String val) {
|
|
|
LambdaQueryWrapper<TEquipment> query = Wrappers.lambdaQuery();
|
|
@@ -1116,7 +1116,7 @@ public class IndexController { ;
|
|
|
/**
|
|
|
* 获取机器列表
|
|
|
*/
|
|
|
- @RequestMapping(value = "/getEquipmentList", method = RequestMethod.GET, produces = "application/json;charset=UTF-8")
|
|
|
+ @RequestMapping(value = "/getEquipmentList.htm", method = RequestMethod.GET, produces = "application/json;charset=UTF-8")
|
|
|
@ResponseBody
|
|
|
public Object getByAdminAndProduct(String adminId,String name) {
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
@@ -1164,7 +1164,7 @@ public class IndexController { ;
|
|
|
/**
|
|
|
* 获取商品信息
|
|
|
*/
|
|
|
- @RequestMapping(value = "/getProductions", method = RequestMethod.GET, produces = "application/json;charset=UTF-8")
|
|
|
+ @RequestMapping(value = "/getProductions.htm", method = RequestMethod.GET, produces = "application/json;charset=UTF-8")
|
|
|
@ResponseBody
|
|
|
public Object getProductions(String adminId,String clientId) {
|
|
|
JSONObject jsonObject = new JSONObject();
|