|
@@ -290,19 +290,19 @@ public class KnowleageController {
|
|
|
|
|
|
/**
|
|
|
* 等级评估配置
|
|
|
- * @param type
|
|
|
+ * @param cycle
|
|
|
* @param pageNum
|
|
|
* @param pageSize
|
|
|
* @return
|
|
|
*/
|
|
|
- @GetMapping("/rating")
|
|
|
+ @GetMapping("/consumer/knowledge//rating")
|
|
|
@ResponseBody
|
|
|
@CrossOrigin(origins = "*", maxAge = 3600)
|
|
|
- public R rating(@RequestParam(value = "type",required = true) String type,
|
|
|
+ public R rating(@RequestParam(value = "cycle",required = true) String cycle,
|
|
|
@RequestParam(value = "pageNum",required = true) String pageNum,
|
|
|
@RequestParam(value = "pageSize",required = true) String pageSize
|
|
|
){
|
|
|
- return knowledgeApi.rating(type,pageNum,pageSize);
|
|
|
+ return knowledgeApi.rating(cycle,pageNum,pageSize);
|
|
|
}
|
|
|
|
|
|
|
|
@@ -310,7 +310,7 @@ public class KnowleageController {
|
|
|
* 等级评估编辑
|
|
|
* @return
|
|
|
*/
|
|
|
- @PostMapping("/ratingedit")
|
|
|
+ @PostMapping("/consumer/knowledge//ratingedit")
|
|
|
@ResponseBody
|
|
|
@CrossOrigin(origins = "*", maxAge = 3600)
|
|
|
public R ratingedit(@RequestBody Evaluationdatasource evaluationdatasource){
|
|
@@ -321,7 +321,7 @@ public class KnowleageController {
|
|
|
* 等级评估删除
|
|
|
* @return
|
|
|
*/
|
|
|
- @DeleteMapping("/ratingremove")
|
|
|
+ @DeleteMapping("/consumer/knowledge//ratingremove")
|
|
|
@ResponseBody
|
|
|
@CrossOrigin(origins = "*", maxAge = 3600)
|
|
|
public R ratingremove(@RequestBody Evaluationdatasource evaluationdatasource){
|