小程序主页接口

This commit is contained in:
张松
2025-03-07 14:35:44 +08:00
parent 4fb4863cb1
commit 8e601b65dd
6 changed files with 11 additions and 7 deletions

View File

@@ -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));
}
}