删除mvn文件

master
夜笙歌 2 years ago
commit eb7ba6ce07

@ -1,8 +1,10 @@
package com.productionboard.controller;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
/**
@ -15,9 +17,27 @@ import org.springframework.web.bind.annotation.ResponseBody;
public class StorageController {
private String prefix = "storage/index";
/**
* 0线1线
* @author WenJY
* @date 2022-06-10 17:36
* @param id
* @param mmap
* @return java.lang.String
*/
@GetMapping()
public String index()
public String index(@RequestParam("id") int id, ModelMap mmap)
{
switch (id) {
case 0:
mmap.put("positionId",0);
break;
case 1:
mmap.put("positionId",1);
break;
default:
break;
}
return prefix;
}
@ -74,4 +94,30 @@ public class StorageController {
return info;
}
/**
*
* @param ids
* @return
*/
@GetMapping("/getStoreStatistics")
@ResponseBody
public String getStoreStatistics(String ids){
return null;
}
/**
*
* @author WenJY
* @date 2022-06-10 17:39
* @param ids
* @return java.lang.String
*/
@GetMapping("/getStoreStatistics")
@ResponseBody
public String getParamJson(String ids){
return null;
}
}

Loading…
Cancel
Save