Commit fd9069c9 by 黄森林

注释

parent 5076c1ae
......@@ -43,6 +43,11 @@ public class ProductController extends BaseController {
ProductController.productMapper = productMapper;
}
/**
* 宽带添加
* @param product 添加对象json字符串
* @return
*/
@Permission(menuname = "添加宽带信息", value = "insert", method = RequestMethod.POST)
public ResponseData<String> insertProduct(@RequestParam("product") String product) {
ShiroUser user = getShiroUser();
......@@ -59,6 +64,12 @@ public class ProductController extends BaseController {
return ResponseData.success("添加完毕!");
}
/**
* 宽带删除
*
* @param id 需要删除的id
* @return
*/
@Permission(menuname = "删除宽带信息", value = "delete", method = RequestMethod.POST)
public ResponseData<String> deleteProduct(@RequestParam("id") String id) {
ShiroUser user = getShiroUser();
......@@ -77,8 +88,9 @@ public class ProductController extends BaseController {
}
/**
* 宽带信息编辑
*
* @param product
* @param product 编辑对象json字符串
* @return
*/
@Permission(menuname = "修改宽带信息", value = "update", method = RequestMethod.POST)
......@@ -102,6 +114,7 @@ public class ProductController extends BaseController {
}
/**
*寬帶查詢展示
*
* @param productUniversity 适用学校
* @param productRegion 区域
......
......@@ -45,6 +45,11 @@ public class UniversityInfoController extends BaseController {
UniversityInfoController.universityInfoMapper = universityInfoMapper;
}
/**
* 添加大学宽带信息
* @param universityInfo 添加对象的json字符串
* @return
*/
@Permission(menuname = "添加大学宽带信息", value = "insert", method = RequestMethod.POST)
public ResponseData<String> insertUniversityInfo(@RequestParam("UniversityInfo") String universityInfo) {
ShiroUser user = getShiroUser();
......@@ -61,6 +66,11 @@ public class UniversityInfoController extends BaseController {
return ResponseData.success("添加完毕!");
}
/**
* 删除大学宽带信息
* @param id 需要删除的id
* @return
*/
@Permission(menuname = "删除大学宽带信息", value = "delete", method = RequestMethod.POST)
public ResponseData<String> deleteUniversityInfo(@RequestParam("id") String id) {
ShiroUser user = getShiroUser();
......@@ -72,8 +82,8 @@ public class UniversityInfoController extends BaseController {
}
/**
*
* @param universityInfo 對象json字符串
* 编辑大学宽带信息
* @param universityInfo 编辑对象的json字符串
* @return
*/
@Permission(menuname = "修改宽带信息", value = "update", method = RequestMethod.POST)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment