小程序主页接口
This commit is contained in:
@@ -42,7 +42,7 @@ public class HomeController {
|
||||
* @return 商品列表
|
||||
*/
|
||||
@GetMapping("/product")
|
||||
public CzgResult<Page<RecommendProVO>> home(String lng, String lat, String address, Integer categoryId, Integer orderType, Integer distanceType) {
|
||||
return CzgResult.success(homePageService.getProd(lng, lat, address, categoryId, orderType, distanceType));
|
||||
public CzgResult<Page<RecommendProVO>> home(String lng, String lat, String address, Integer categoryId, Integer orderType, Integer distanceType, String name) {
|
||||
return CzgResult.success(homePageService.getProd(lng, lat, address, categoryId, orderType, distanceType, name));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user