店铺信息接口获取台桌code非必传

This commit is contained in:
2024-09-26 15:40:40 +08:00
parent 2dfe413def
commit e30a5e21b3
2 changed files with 19 additions and 12 deletions

View File

@@ -41,9 +41,10 @@ public class ProductController {
@RequestHeader("id") String userId,
@RequestParam(required = false) String lat,
@RequestParam(required = false) String lng,
@RequestParam("code") String code
@RequestParam(required = false) String code,
@RequestParam Integer shopId
) {
return productService.queryShopIdByTableCode(userId, openId, code,lat,lng);
return productService.queryShopIdByTableCode(userId, openId, code,lat,lng, shopId);
}
/**