|
|
@@ -20,7 +20,7 @@ import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
/**
|
|
|
* 供应商资源引进模块
|
|
|
- *
|
|
|
+ * /product 和 /vendor 均加入了登录拦截排除,之后有不需要登陆拦截的,都是用这两个作为方法url前缀
|
|
|
* @author dongbw
|
|
|
* @time 创建时间 :2018年4月25日 15:20:53
|
|
|
*/
|
|
|
@@ -130,8 +130,8 @@ public class VendorIntroductionController {
|
|
|
* 获取推荐供应商数据
|
|
|
* @return 企业信息
|
|
|
*/
|
|
|
- @RequestMapping(value = "/recommend", method = RequestMethod.GET)
|
|
|
- public org.springframework.data.domain.Page<Enterprise> getRecommendVendor(@PageableDefault(value = 20, sort = { "prodCount" }, direction = Sort.Direction.DESC) Pageable pageable) {
|
|
|
+ @RequestMapping(value = "/vendor/recommend", method = RequestMethod.GET)
|
|
|
+ public org.springframework.data.domain.Page<Enterprise> getRecommendVendor(@PageableDefault(value = 10, sort = { "prodCount" }, direction = Sort.Direction.DESC) Pageable pageable) {
|
|
|
return vendorIntroductionService.getRecommendVendor(pageable);
|
|
|
}
|
|
|
|